aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/avalot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/avalot.cpp')
-rw-r--r--engines/avalanche/avalot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index b6c3f0b1b9..a315d5cc90 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -1734,8 +1734,8 @@ bool Avalot::setFlag(char x) {
return false;
}
-bool Avalot::decreaseMoney(uint16 howmuchby) {
- _money -= howmuchby;
+bool Avalot::decreaseMoney(uint16 amount) {
+ _money -= amount;
if (_money < 0) {
_vm->_dialogs->displayScrollChain('Q', 2); // "You are now denariusless!"
gameOver();