summaryrefslogtreecommitdiff
path: root/src/base/tux.c
diff options
context:
space:
mode:
authorDusan Durech <dusan@debian.debian>2009-04-22 19:54:52 +0200
committerDusan Durech <dusan@debian.debian>2009-04-22 19:54:52 +0200
commit31941d9f3b2a665317503166785a3eb6cef35a9c (patch)
treec0740c7c14689593ff405d62f3111f9c326cc2d0 /src/base/tux.c
parentf760a8c01827d97affff6acc0ec666b30e26395f (diff)
fix _all_ warnings // used macro UNUSET
Diffstat (limited to 'src/base/tux.c')
-rw-r--r--src/base/tux.c9
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;
}