aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-use.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-22 23:13:25 +0200
committerEugene Sandulenko2019-09-03 17:16:56 +0200
commit38e5b71668405bc74cc35139945c4aa38e3330a2 (patch)
treedd721c73013c6653315bd6f9409b556eeebebaab /engines/hdb/ai-use.cpp
parentfcd8b6e00a122338a3a19c4b16dbaee3bc61b010 (diff)
downloadscummvm-rg350-38e5b71668405bc74cc35139945c4aa38e3330a2.tar.gz
scummvm-rg350-38e5b71668405bc74cc35139945c4aa38e3330a2.tar.bz2
scummvm-rg350-38e5b71668405bc74cc35139945c4aa38e3330a2.zip
HDB: Correct const-ness
Diffstat (limited to 'engines/hdb/ai-use.cpp')
-rw-r--r--engines/hdb/ai-use.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai-use.cpp b/engines/hdb/ai-use.cpp
index fa78aed218..4abb1023bb 100644
--- a/engines/hdb/ai-use.cpp
+++ b/engines/hdb/ai-use.cpp
@@ -41,7 +41,7 @@ bool AI::useSwitch2(AIEntity *e, int x, int y, int targetX, int targetY) {
}
// Colored Keycard Switch
-bool AI::useLockedSwitch(AIEntity *e, int x, int y, int targetX, int targetY, int onTile, AIType item, char *keyerror) {
+bool AI::useLockedSwitch(AIEntity *e, int x, int y, int targetX, int targetY, int onTile, AIType item, const char *keyerror) {
warning("STUB: Define useLockedSwitch");
return false;
}
@@ -83,4 +83,4 @@ bool AI::useDoorOpenCloseBot(AIEntity *e, int x, int y) {
return false;
}
-} // End of Namespace \ No newline at end of file
+} // End of Namespace