summaryrefslogtreecommitdiff
path: root/src/gun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun.c')
-rw-r--r--src/gun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun.c b/src/gun.c
index 6938a88..1fd1bf1 100644
--- a/src/gun.c
+++ b/src/gun.c
@@ -223,7 +223,7 @@ static void putInGunMine(tux_t *tux)
if( isFreeSpace(x, y, ITEM_MINE_WIDTH, ITEM_MINE_HEIGHT) )
{
- addList(arena->listItem, newItem(x, y, ITEM_MINE) );
+ addList(arena->listItem, newItem(x, y, ITEM_MINE, tux) );
tux->shot[tux->gun]--;
}
}