diff options
Diffstat (limited to 'src/base/tux.c')
| -rw-r--r-- | src/base/tux.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/base/tux.c b/src/base/tux.c index 5a10c7a..d8fff10 100644 --- a/src/base/tux.c +++ b/src/base/tux.c @@ -409,6 +409,8 @@ static void action_tux(space_t * space, tux_t * tux, shot_t * shot) { arena_t *arena; + UNUSET(space); + arena = arena_get_current(); if (tux->status == TUX_STATUS_ALIVE) { @@ -443,6 +445,8 @@ static void action_tux(space_t * space, tux_t * tux, shot_t * shot) static void action_shot(space_t * space, shot_t * shot, space_t * spaceTux) { + UNUSET(space); + space_action_from_location(spaceTux, action_tux, shot, shot->x, shot->y, shot->w, shot->h); } @@ -721,12 +725,17 @@ void tux_set_status(void *p, int x, int y, int w, int h) { tux_t *tux; + UNUSET(w); + UNUSET(h); + tux = p; tux_set_proportion(tux, x, y); } static void action_checkMine(space_t * space, item_t * item, tux_t * tux) { + UNUSET(space); + if (item->type == ITEM_MINE && item->author_id == tux->id) { item->author_id = ID_UNKNOWN; } |