From e7a6a7a14aeea2ee9f2c235d0cbabf0cb3660e89 Mon Sep 17 00:00:00 2001 From: Michal Zima Date: Fri, 18 Jun 2010 13:09:40 +0200 Subject: Wiped out all "UNUSED" stuff Plus small code cleaning, simplifying of some statements etc. --- src/base/tux.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/base/tux.c') diff --git a/src/base/tux.c b/src/base/tux.c index 33984f7..f88d6a4 100644 --- a/src/base/tux.c +++ b/src/base/tux.c @@ -405,8 +405,6 @@ static void bombBallExplosion(shot_t *shot) static void action_tux(space_t *space, tux_t *tux, shot_t *shot) { - UNUSED(space); - if (tux->status == TUX_STATUS_ALIVE) { if (shot->author_id == tux->id && shot->isCanKillAuthor == FALSE) { return; @@ -736,17 +734,12 @@ void tux_set_status(void *p, int x, int y, int w, int h) { tux_t *tux; - UNUSED(w); - UNUSED(h); - tux = p; tux_set_proportion(tux, x, y); } static void action_checkMine(space_t *space, item_t *item, tux_t *tux) { - UNUSED(space); - if (item->type == ITEM_MINE && item->author_id == tux->id) { item->author_id = ID_UNKNOWN; } -- cgit v1.2.3