summaryrefslogtreecommitdiff
path: root/src/tux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tux.c')
-rw-r--r--src/tux.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tux.c b/src/tux.c
index d92d8af..4bcf739 100644
--- a/src/tux.c
+++ b/src/tux.c
@@ -583,12 +583,10 @@ void moveTux(tux_t *tux, int n)
}
else
{
- eventGiveTuxItem(tux, getWorldArena()->listItem);
+ eventGiveTuxListItem(tux, getWorldArena()->listItem);
tux->frame++;
if( tux->frame == TUX_KEY * TUX_MAX_ANIMATION_FRAME ) tux->frame = 0;
}
-
-// printf("move %d %d %d\n", tux->id, tux->x, tux->y);
}
void switchTuxGun(tux_t *tux)
@@ -771,7 +769,7 @@ void eventListTux(list_t *listTux)
#endif
pickUpGun(thisTux);
eventBonus(thisTux);
- eventGiveTuxItem(thisTux, getWorldArena()->listItem);
+ eventGiveTuxListItem(thisTux, getWorldArena()->listItem);
}
}