diff options
author | Eugene Sandulenko | 2019-06-22 23:13:25 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:56 +0200 |
commit | 38e5b71668405bc74cc35139945c4aa38e3330a2 (patch) | |
tree | dd721c73013c6653315bd6f9409b556eeebebaab | |
parent | fcd8b6e00a122338a3a19c4b16dbaee3bc61b010 (diff) | |
download | scummvm-rg350-38e5b71668405bc74cc35139945c4aa38e3330a2.tar.gz scummvm-rg350-38e5b71668405bc74cc35139945c4aa38e3330a2.tar.bz2 scummvm-rg350-38e5b71668405bc74cc35139945c4aa38e3330a2.zip |
HDB: Correct const-ness
-rw-r--r-- | engines/hdb/ai-use.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/ai.h | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index 1631a516de..a88a703b45 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -913,7 +913,7 @@ private: bool useSwitch2(AIEntity *e, int x, int y, int targetX, int targetY); // Colored Keycard Switch - bool useLockedSwitch(AIEntity *e, int x, int y, int targetX, int targetY, int onTile, AIType item, char *keyerror); + bool useLockedSwitch(AIEntity *e, int x, int y, int targetX, int targetY, int onTile, AIType item, const char *keyerror); bool useLockedSwitchOn(AIEntity *e, int x, int y, int targetX, int targetY, int offTile, AIType item); // Purple Cell Holder Switch |