aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-inventory.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-01 12:12:05 +0200
committerEugene Sandulenko2019-09-03 17:17:06 +0200
commitf9c560fd9a5630e25280150dbeca049a9ffaec24 (patch)
treec1c8b34bf2edcbf6e35cef02b41205bb8432205a /engines/hdb/ai-inventory.cpp
parent2cd3bbe2304117a8c0a4cb27f365814c2c9f6f58 (diff)
downloadscummvm-rg350-f9c560fd9a5630e25280150dbeca049a9ffaec24.tar.gz
scummvm-rg350-f9c560fd9a5630e25280150dbeca049a9ffaec24.tar.bz2
scummvm-rg350-f9c560fd9a5630e25280150dbeca049a9ffaec24.zip
HDB: Fix warnings, const'ness
Diffstat (limited to 'engines/hdb/ai-inventory.cpp')
-rw-r--r--engines/hdb/ai-inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/ai-inventory.cpp b/engines/hdb/ai-inventory.cpp
index 0325d3b696..48ce48fb5a 100644
--- a/engines/hdb/ai-inventory.cpp
+++ b/engines/hdb/ai-inventory.cpp
@@ -243,7 +243,7 @@ bool AI::removeInvItemType(AIType which, int amount) {
return true;
}
-bool AI::addItemToInventory(AIType type, int amount, char *funcInit, char *funcAction, char *funcUse) {
+bool AI::addItemToInventory(AIType type, int amount, const char *funcInit, const char *funcAction, const char *funcUse) {
int i;
AIEntity *e;
for (i = 0; i < amount; i++) {