summaryrefslogtreecommitdiff
path: root/src/item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.c')
-rw-r--r--src/item.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/item.c b/src/item.c
index 970d903..23c3f52 100644
--- a/src/item.c
+++ b/src/item.c
@@ -117,6 +117,8 @@ void addNewItem(list_t *listItem)
arena = getWorldArena();
findFreeSpace(&new_x, &new_y, ITEM_GUN_WIDTH, ITEM_GUN_HEIGHT);
+ type = GUN_DUAL_SIMPLE;
+
do{
switch( random() % 11 )
{