diff options
| author | Michal Zima <xhire@mujmalysvet.cz> | 2010-06-18 13:09:40 +0200 |
|---|---|---|
| committer | Michal Zima <xhire@mujmalysvet.cz> | 2010-06-18 13:09:40 +0200 |
| commit | e7a6a7a14aeea2ee9f2c235d0cbabf0cb3660e89 (patch) | |
| tree | 4ab86d23b7470657761d754426bab3645a91bf14 /src/base/tux.c | |
| parent | 8a278016b0ebe4b2a20348f1ebb2aff3037248c3 (diff) | |
Wiped out all "UNUSED" stuff
Plus small code cleaning, simplifying of some statements etc.
Diffstat (limited to 'src/base/tux.c')
| -rw-r--r-- | src/base/tux.c | 7 |
1 files changed, 0 insertions, 7 deletions
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; } |