summaryrefslogtreecommitdiff
path: root/src/tux.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-17 19:15:10 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-17 19:15:10 +0000
commitfadf9365dba24b680db5cb8750c53e264ff1ec27 (patch)
tree23ef9094c47b009ed5c81e6fb517cf88316bb92e /src/tux.c
parent652ce49bba44c885da4891bcae5fb650ef132a73 (diff)
- drobne upravy v kode
git-svn-id: http://opensvn.csie.org/tuxanci_ng@65 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/tux.c')
-rw-r--r--src/tux.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tux.c b/src/tux.c
index 8dad6c4..39094c8 100644
--- a/src/tux.c
+++ b/src/tux.c
@@ -84,7 +84,7 @@ tux_t* newTux()
new->position = TUX_DOWN;
new->gun = GUN_SIMPLE;
new->shot[ new->gun ] = GUN_MAX_SHOT;
-
+
sprintf(new->name, "no_name_id_%d", new->id);
new->score = 0;
new->frame = 0;
@@ -95,6 +95,8 @@ tux_t* newTux()
new->isCanShot = TRUE;
new->isCanSwitchGun = TRUE;
+ new->client = NULL;
+
return new;
}