From bd01771720f2574984dcb2f9e546fb1dc04500da Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 14 Feb 2016 17:30:13 +0100 Subject: WAGE: Fix warning --- engines/wage/wage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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(); } -- cgit v1.2.3