From 6a02a571cd5e8df4f70f64eace4fbce03f70faf8 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 25 Aug 2016 18:32:03 +0200 Subject: DM: Rename variables and functions of DisplayMan --- engines/dm/group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/dm/group.cpp') diff --git a/engines/dm/group.cpp b/engines/dm/group.cpp index 5c60ff4c4f..2b2675c7ff 100644 --- a/engines/dm/group.cpp +++ b/engines/dm/group.cpp @@ -1208,7 +1208,7 @@ T0200006: T0200011: AL0422_i_SightRange = L0424_ps_CreatureInfo->getSightRange(); if (!getFlag(L0424_ps_CreatureInfo->_attributes, k0x1000_MaskCreatureInfo_nightVision)) { - AL0422_i_SightRange -= _vm->_displayMan->_g304_dungeonViewPaletteIndex >> 1; + AL0422_i_SightRange -= _vm->_displayMan->_dungeonViewPaletteIndex >> 1; } if (_g381_currGroupDistanceToParty > MAX((int16)1, AL0422_i_SightRange)) { return 0; -- cgit v1.2.3