mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
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. svn-id: r33637
This commit is contained in:
parent
e2e0b1393b
commit
966b5eb94e
@ -1518,6 +1518,7 @@ void makeCommandLine(void) {
|
||||
}
|
||||
|
||||
if (!disableSystemMenu) {
|
||||
isDrawCommandEnabled = 1;
|
||||
renderer->setCommand(commandBuffer);
|
||||
}
|
||||
}
|
||||
@ -1690,6 +1691,11 @@ uint16 executePlayerInput(void) {
|
||||
}
|
||||
|
||||
if (allowPlayerInput) {
|
||||
if (isDrawCommandEnabled) {
|
||||
renderer->setCommand(commandBuffer);
|
||||
isDrawCommandEnabled = 0;
|
||||
}
|
||||
|
||||
getMouseData(mouseUpdateStatus, &mouseButton, &mouseX, &mouseY);
|
||||
|
||||
while (mouseButton && currentEntry < 200) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user