diff options
| author | Dusan Durech <dusan@debian.debian> | 2009-04-22 19:54:52 +0200 |
|---|---|---|
| committer | Dusan Durech <dusan@debian.debian> | 2009-04-22 19:54:52 +0200 |
| commit | 31941d9f3b2a665317503166785a3eb6cef35a9c (patch) | |
| tree | c0740c7c14689593ff405d62f3111f9c326cc2d0 /src/base/shot.c | |
| parent | f760a8c01827d97affff6acc0ec666b30e26395f (diff) | |
fix _all_ warnings // used macro UNUSET
Diffstat (limited to 'src/base/shot.c')
| -rw-r--r-- | src/base/shot.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/shot.c b/src/base/shot.c index 5d55f82..b19877a 100644 --- a/src/base/shot.c +++ b/src/base/shot.c @@ -262,6 +262,8 @@ static void action_moveShot(space_t * space, shot_t * shot, void *p) int new_x, new_y; arena_t *arena; + UNUSET(p); + arena = arena_get_current(); new_x = shot->x + shot->px; @@ -295,6 +297,8 @@ static int isValueInList(list_t * list, int x) static void action_check(space_t * space, shot_t * shot, client_t * client) { + UNUSET(space); + if (isValueInList(client->listSeesShot, shot->id) == 0) { list_add(client->listSeesShot, newInt(shot->id)); proto_send_shot_server(PROTO_SEND_ONE, client, shot); |