From b21b200a95cfb20c8af825cc51f1fad4369c48fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Sun, 13 Sep 2009 21:12:05 +0000 Subject: [PATCH] Clarify things a bit by using the constant name rather than zero. svn-id: r44072 --- engines/sword1/sword1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp index 61ab835da67..94216d85849 100644 --- a/engines/sword1/sword1.cpp +++ b/engines/sword1/sword1.cpp @@ -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;