diff options
author | Strangerke | 2016-05-16 21:57:20 +0200 |
---|---|---|
committer | Strangerke | 2016-05-16 21:57:20 +0200 |
commit | 85b7da75deeaf57a30d58e924076eb72d7a3d98e (patch) | |
tree | fe4b25ad287e3a4c9e71faf1cbf1f1f8b26c24d7 | |
parent | 52374bfe7b3110d4a4c2b0cf116ea7fe476f4f7d (diff) | |
download | scummvm-rg350-85b7da75deeaf57a30d58e924076eb72d7a3d98e.tar.gz scummvm-rg350-85b7da75deeaf57a30d58e924076eb72d7a3d98e.tar.bz2 scummvm-rg350-85b7da75deeaf57a30d58e924076eb72d7a3d98e.zip |
GNAP: Explicitely set _scoreLevel to 1 when score greater than 556
-rw-r--r-- | engines/gnap/scenes/arcade.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gnap/scenes/arcade.cpp b/engines/gnap/scenes/arcade.cpp index d26e0fb931..acc541a45d 100644 --- a/engines/gnap/scenes/arcade.cpp +++ b/engines/gnap/scenes/arcade.cpp @@ -250,7 +250,8 @@ void Scene49::increaseScore(int amount) { _scoreBarPos += amount; _vm->_gameSys->fillSurface(0, _scoreBarPos, 508, amount, 22, 255, 0, 0); } - _scoreLevel = _scoreBarPos + amount >= 556; + + _scoreLevel = (_scoreBarPos + amount >= 556) ? 1 : 0; } void Scene49::decreaseScore(int amount) { |