[Scummvm-cvs-logs] SF.net SVN: scummvm:[33637] scummvm/trunk/engines/cine/various.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Tue Aug 5 14:58:24 CEST 2008
Revision: 33637
http://scummvm.svn.sourceforge.net/scummvm/?rev=33637&view=rev
Author: buddha_
Date: 2008-08-05 12:58:23 +0000 (Tue, 05 Aug 2008)
Log Message:
-----------
Fix prompt updating regression introduced in r32257:
Previously prompt didn't get updated all the time,
like e.g. when selecting EXAMINE and moving the
cursor over to DOOR and then moving the cursor to
a place where there was no selectable object. The
prompt would've still shown "EXAMINE DOOR", now
it shows just "EXAMINE" which is correct AFAIK.
Modified Paths:
--------------
scummvm/trunk/engines/cine/various.cpp
Modified: scummvm/trunk/engines/cine/various.cpp
===================================================================
--- scummvm/trunk/engines/cine/various.cpp 2008-08-05 12:16:41 UTC (rev 33636)
+++ scummvm/trunk/engines/cine/various.cpp 2008-08-05 12:58:23 UTC (rev 33637)
@@ -1518,6 +1518,7 @@
}
if (!disableSystemMenu) {
+ isDrawCommandEnabled = 1;
renderer->setCommand(commandBuffer);
}
}
@@ -1690,6 +1691,11 @@
}
if (allowPlayerInput) {
+ if (isDrawCommandEnabled) {
+ renderer->setCommand(commandBuffer);
+ isDrawCommandEnabled = 0;
+ }
+
getMouseData(mouseUpdateStatus, &mouseButton, &mouseX, &mouseY);
while (mouseButton && currentEntry < 200) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list