aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorJohannes Schickel2016-01-11 13:47:34 +0100
committerJohannes Schickel2016-01-11 13:53:35 +0100
commit34e8e9a876739436e84cec7f5e0013bde0fb46de (patch)
tree0d03b1a0ac170d88f957200407925e70b2567963 /engines/mads
parent60443e49e8f550c9287ec7752aac3efc87ae1da2 (diff)
downloadscummvm-rg350-34e8e9a876739436e84cec7f5e0013bde0fb46de.tar.gz
scummvm-rg350-34e8e9a876739436e84cec7f5e0013bde0fb46de.tar.bz2
scummvm-rg350-34e8e9a876739436e84cec7f5e0013bde0fb46de.zip
MADS: Rename "interface" variable to "idx".
interface is #define'd on WinCE and breaks compilation. We might want to undefine it in the future to prevent these pitfalls.
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/dragonsphere/dragonsphere_scenes1.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/mads/dragonsphere/dragonsphere_scenes1.cpp b/engines/mads/dragonsphere/dragonsphere_scenes1.cpp
index 5fdf2018f9..bb7cafec41 100644
--- a/engines/mads/dragonsphere/dragonsphere_scenes1.cpp
+++ b/engines/mads/dragonsphere/dragonsphere_scenes1.cpp
@@ -32,35 +32,35 @@ namespace MADS {
namespace Dragonsphere {
void Scene1xx::setAAName() {
- int interface;
+ int idx;
switch (_scene->_nextSceneId) {
case 108:
case 109:
- interface = 3;
+ idx = 3;
break;
case 110:
- interface = 5;
+ idx = 5;
break;
case 113:
case 114:
case 115:
case 117:
case 119:
- interface = 1;
+ idx = 1;
break;
case 116:
- interface = 2;
+ idx = 2;
break;
case 120:
- interface = 8;
+ idx = 8;
break;
default:
- interface = 0;
+ idx = 0;
break;
}
- _game._aaName = Resources::formatAAName(interface);
+ _game._aaName = Resources::formatAAName(idx);
_vm->_palette->setEntry(254, 56, 47, 32);
}