aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-inventory.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-07-14 01:28:22 +0530
committerEugene Sandulenko2019-09-03 17:17:20 +0200
commitd07dcd210cf1ec04aa7b4f3c76ac2b9f1af57af4 (patch)
tree4f9466cc4eb48aafe9323a137a7d98ae6a5f4b58 /engines/hdb/ai-inventory.cpp
parent0c5f2f024382cdaa6bd372b8240446d2c7e34d89 (diff)
downloadscummvm-rg350-d07dcd210cf1ec04aa7b4f3c76ac2b9f1af57af4.tar.gz
scummvm-rg350-d07dcd210cf1ec04aa7b4f3c76ac2b9f1af57af4.tar.bz2
scummvm-rg350-d07dcd210cf1ec04aa7b4f3c76ac2b9f1af57af4.zip
HDB: Add code to ready Weapon
Diffstat (limited to 'engines/hdb/ai-inventory.cpp')
-rw-r--r--engines/hdb/ai-inventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai-inventory.cpp b/engines/hdb/ai-inventory.cpp
index a26610ee26..ff14f15ef3 100644
--- a/engines/hdb/ai-inventory.cpp
+++ b/engines/hdb/ai-inventory.cpp
@@ -68,9 +68,9 @@ bool AI::addToInventory(AIEntity *e) {
case ITEM_CLUB:
case ITEM_ROBOSTUNNER:
case ITEM_SLUGSLINGER:
- warning("STUB: addToInventory: Ready weapon");
+ g_hdb->_window->chooseWeapon(e->type);
default:
- warning("AI-INVENTORY: addToInventory: Unintended Type");
+ break;
}
printYouGotMsg(e->printedName);