Clarify things a bit by using the constant name rather than zero.

svn-id: r44072
This commit is contained in:
Torbjörn Andersson 2009-09-13 21:12:05 +00:00
parent 16305d3b29
commit b21b200a95

View File

@ -670,7 +670,7 @@ uint8 SwordEngine::mainLoop(void) {
else if (((_keyPressed.keycode == Common::KEYCODE_F5 || _keyPressed.keycode == Common::KEYCODE_ESCAPE)
&& (Logic::_scriptVars[MOUSE_STATUS] & 1)) || (_systemVars.controlPanelMode)) {
retCode = _control->runPanel();
if (!retCode)
if (retCode == CONTROL_NOTHING_DONE)
_screen->fullRefresh();
}
_mouseState = 0;