aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2016-02-14 17:30:13 +0100
committerEugene Sandulenko2016-02-14 17:30:13 +0100
commitbd01771720f2574984dcb2f9e546fb1dc04500da (patch)
treeaa26d206fbcc4869a55205995dbf4b90bb16ec85 /engines/wage
parent11e03fbce271d4817225d834349e5f2e276353ef (diff)
downloadscummvm-rg350-bd01771720f2574984dcb2f9e546fb1dc04500da.tar.gz
scummvm-rg350-bd01771720f2574984dcb2f9e546fb1dc04500da.tar.bz2
scummvm-rg350-bd01771720f2574984dcb2f9e546fb1dc04500da.zip
WAGE: Fix warning
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/wage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index 1c13a31f66..fba340efaa 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -220,9 +220,9 @@ void WageEngine::gameOver() {
buttons.push_back(new DialogButton("OK", 66, 67, 68, 28));
- Dialog gameOver(_gui, 199, _world->_gameOverMessage->c_str(), &buttons, 0);
+ Dialog gameOverDialog(_gui, 199, _world->_gameOverMessage->c_str(), &buttons, 0);
- gameOver.run();
+ gameOverDialog.run();
doClose();
}