aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/gfx.cpp
diff options
context:
space:
mode:
authorStrangerke2016-06-23 23:12:39 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit45461a4908bfab95fa41ff90aba2e697b2581c96 (patch)
tree46aad99288667af3337b018b948971b542add6cd /engines/dm/gfx.cpp
parentfab051093691fdcf3f29662e95699bc080f5602a (diff)
downloadscummvm-rg350-45461a4908bfab95fa41ff90aba2e697b2581c96.tar.gz
scummvm-rg350-45461a4908bfab95fa41ff90aba2e697b2581c96.tar.bz2
scummvm-rg350-45461a4908bfab95fa41ff90aba2e697b2581c96.zip
DM: Fix compilation on GCC
Diffstat (limited to 'engines/dm/gfx.cpp')
-rw-r--r--engines/dm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp
index d9bb6af6fa..f5d58838fa 100644
--- a/engines/dm/gfx.cpp
+++ b/engines/dm/gfx.cpp
@@ -1350,10 +1350,10 @@ void DisplayMan::loadCurrentMapGraphics() {
CreatureAspect &aspect = gCreatureAspects[_currMapAllowedCreatureTypes[creatureType]];
uint16 replColorOrdinal = aspect.getReplColour9();
if (replColorOrdinal)
- applyCreatureReplColors(9, ordinalToIndex(replColorOrdinal));
+ applyCreatureReplColors(9, _vm->ordinalToIndex(replColorOrdinal));
replColorOrdinal = aspect.getReplColour10();
if (replColorOrdinal)
- applyCreatureReplColors(10, ordinalToIndex(replColorOrdinal));
+ applyCreatureReplColors(10, _vm->ordinalToIndex(replColorOrdinal));
}
}