From c72c92a3ef5cb58878ea0ae156a6fc6855eb7fff Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 9 Feb 2016 09:46:06 +0100 Subject: WAGE: More const'ness --- engines/wage/combat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/wage/combat.cpp b/engines/wage/combat.cpp index 4c3d6c97b1..91c65cfd88 100644 --- a/engines/wage/combat.cpp +++ b/engines/wage/combat.cpp @@ -396,7 +396,7 @@ void WageEngine::performHealingMagic(Chr *chr, Obj *magicalObject) { static const int directionsX[] = { 0, 0, 1, -1 }; static const int directionsY[] = { -1, 1, 0, 0 }; -static const char *directionsS[] = { "north", "south", "east", "west" }; +static const char *const directionsS[] = { "north", "south", "east", "west" }; void WageEngine::performMove(Chr *chr, int validMoves) { // count how many valid moves we have -- cgit v1.2.3