diff options
author | Torbjörn Andersson | 2015-07-24 09:14:25 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2015-07-24 09:14:25 +0200 |
commit | df311132228c338b1c22707abade0488fca0db30 (patch) | |
tree | 3c4e3c2e2677448866b29f9a0a846f9d2f96933a /engines | |
parent | c4736c274e3c2e16791df730d5b82a40b90f882f (diff) | |
download | scummvm-rg350-df311132228c338b1c22707abade0488fca0db30.tar.gz scummvm-rg350-df311132228c338b1c22707abade0488fca0db30.tar.bz2 scummvm-rg350-df311132228c338b1c22707abade0488fca0db30.zip |
ACCESS: Rename local variable to silence GCC warning
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/amazon/amazon_scripts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_scripts.cpp b/engines/access/amazon/amazon_scripts.cpp index 8c49424bc5..d8f4663401 100644 --- a/engines/access/amazon/amazon_scripts.cpp +++ b/engines/access/amazon/amazon_scripts.cpp @@ -380,7 +380,7 @@ void AmazonScripts::executeSpecial(int commandIndex, int param1, int param2) { typedef void(AmazonScripts::*AmazonScriptMethodPtr)(); void AmazonScripts::executeCommand(int commandIndex) { - static const AmazonScriptMethodPtr COMMAND_LIST[] = { + static const AmazonScriptMethodPtr AMAZON_COMMAND_LIST[] = { &AmazonScripts::cmdHelp_v2, &AmazonScripts::cmdCycleBack, &AmazonScripts::cmdChapter, &AmazonScripts::cmdSetHelp, &AmazonScripts::cmdCenterPanel, &AmazonScripts::cmdMainPanel, @@ -388,7 +388,7 @@ void AmazonScripts::executeCommand(int commandIndex) { }; if (commandIndex >= 73) - (this->*COMMAND_LIST[commandIndex - 73])(); + (this->*AMAZON_COMMAND_LIST[commandIndex - 73])(); else Scripts::executeCommand(commandIndex); } |