diff options
author | Strangerke | 2013-10-04 17:52:12 +0200 |
---|---|---|
committer | Strangerke | 2013-10-04 17:52:12 +0200 |
commit | 300859aa43bf4f14afc005fdcebb392cf2a88000 (patch) | |
tree | e93ea9194bc57e8d7582a30a604b003d36ae07aa /engines/avalanche/parser.cpp | |
parent | 89559e07a3b337a27798aedb1ef64f257fdfe649 (diff) | |
download | scummvm-rg350-300859aa43bf4f14afc005fdcebb392cf2a88000.tar.gz scummvm-rg350-300859aa43bf4f14afc005fdcebb392cf2a88000.tar.bz2 scummvm-rg350-300859aa43bf4f14afc005fdcebb392cf2a88000.zip |
AVALANCHE: Fix static array names
Diffstat (limited to 'engines/avalanche/parser.cpp')
-rw-r--r-- | engines/avalanche/parser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/avalanche/parser.cpp b/engines/avalanche/parser.cpp index 115b5662e2..fc6085b581 100644 --- a/engines/avalanche/parser.cpp +++ b/engines/avalanche/parser.cpp @@ -527,7 +527,7 @@ void Parser::replace(Common::String oldChars, byte newChar) { } Common::String Parser::rank() { - static const RankType kRanks[9] = { + static const RankType ranks[9] = { {0, "Beginner"}, {10, "Novice"}, {20, "Improving"}, {35, "Not bad"}, {50, "Passable"}, {65, "Good"}, @@ -536,8 +536,8 @@ Common::String Parser::rank() { }; for (int i = 0; i < 8; i++) { - if ((_vm->_dnascore >= kRanks[i]._score) && (_vm->_dnascore < kRanks[i + 1]._score)) { - return kRanks[i]._title; + if ((_vm->_dnascore >= ranks[i]._score) && (_vm->_dnascore < ranks[i + 1]._score)) { + return ranks[i]._title; } } return ""; |