Skip to content

Commit

Permalink
AVALANCHE: Repair ShootEmUp::gain().
Browse files Browse the repository at this point in the history
  • Loading branch information
uruk committed Feb 20, 2014
1 parent 73223fd commit db34e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/avalanche/shootemup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit db34e0c

Please sign in to comment.