aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-inventory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/hdb/ai-inventory.cpp b/engines/hdb/ai-inventory.cpp
index e9eb098156..3dfea6974f 100644
--- a/engines/hdb/ai-inventory.cpp
+++ b/engines/hdb/ai-inventory.cpp
@@ -52,8 +52,7 @@ bool AI::addToInventory(AIEntity *e) {
removeEntity(e);
return true;
default:
- warning("AI-INVENTORY: addToInventory: Unintended Type");
- return false;
+ break;
}
if (_numInventory >= kMaxInventory) {