diff options
author | uruk | 2014-02-20 23:34:22 +0100 |
---|---|---|
committer | uruk | 2014-02-20 23:34:22 +0100 |
commit | db34e0ce0d499257df73574f1d9a70312280716b (patch) | |
tree | b9930d95d339b1a92ce5f166ddbe1d7ccf014289 /engines | |
parent | 73223fd1914306e8332b315033633097f78ddabc (diff) | |
download | scummvm-rg350-db34e0ce0d499257df73574f1d9a70312280716b.tar.gz scummvm-rg350-db34e0ce0d499257df73574f1d9a70312280716b.tar.bz2 scummvm-rg350-db34e0ce0d499257df73574f1d9a70312280716b.zip |
AVALANCHE: Repair ShootEmUp::gain().
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/shootemup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/shootemup.cpp b/engines/avalanche/shootemup.cpp index 1ade16fe02..2c4777ea07 100644 --- a/engines/avalanche/shootemup.cpp +++ b/engines/avalanche/shootemup.cpp @@ -275,7 +275,7 @@ void ShootEmUp::showTime() { } void ShootEmUp::gain(int8 howMuch) { - if ((_score + howMuch) == 0) // howMuch can be negative! + if ((_score + howMuch) < 0) // howMuch can be negative! _score = 0; else _score += howMuch; |