aboutsummaryrefslogtreecommitdiff
path: root/src/game/Item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r--src/game/Item.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp
index dac3ca8b0c8..9e07dbfaa16 100644
--- a/src/game/Item.cpp
+++ b/src/game/Item.cpp
@@ -970,6 +970,8 @@ Item* Item::CreateItem( uint32 item, uint32 count, Player const* player )
else
delete pItem;
}
+ else
+ assert(false);
return NULL;
}