aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/wage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/wage.cpp')
-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();
}