aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/avalanche/shootemup.cpp2
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;