Skip to content

Commit

Permalink
Don't pretend that everyone is a winner when they have failed.
Browse files Browse the repository at this point in the history
fixes ticket:3449
  • Loading branch information
vexed committed May 7, 2012
1 parent 4a9ac7f commit 25e118c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qtscriptfuncs.cpp
Expand Up @@ -1581,7 +1581,7 @@ static QScriptValue js_gameOverMessage(QScriptContext *context, QScriptEngine *e
}
else
{
psViewData = getViewData("WIN");
psViewData = getViewData("END"); // FIXME: rename to FAILED|LOST ?
addConsoleMessage(_("YOU WERE DEFEATED!"), DEFAULT_JUSTIFY, SYSTEM_MESSAGE);
}
ASSERT(psViewData, "Viewdata not found");
Expand Down

0 comments on commit 25e118c

Please sign in to comment.