summaryrefslogtreecommitdiff
path: root/src/tux.c
diff options
context:
space:
mode:
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;
}