diff options
author | Nipun Garg | 2019-07-03 23:51:02 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:10 +0200 |
commit | eb388f9a50ed7456c0aae5c3f86fa20bc3746659 (patch) | |
tree | 9b3697115b8b903c6282d22bb98a26e4656f0d3e /engines | |
parent | f832f66dd32a84f909c719ae6a1e62cf8743c691 (diff) | |
download | scummvm-rg350-eb388f9a50ed7456c0aae5c3f86fa20bc3746659.tar.gz scummvm-rg350-eb388f9a50ed7456c0aae5c3f86fa20bc3746659.tar.bz2 scummvm-rg350-eb388f9a50ed7456c0aae5c3f86fa20bc3746659.zip |
HDB: Remove invalid return statement
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-inventory.cpp | 3 |
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) { |