mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 02:39:56 +00:00
TSAGE: Fix for crash when hiding cursor in Ringworld demo
This commit is contained in:
parent
760e8d4e6e
commit
98c4d739f2
@ -151,8 +151,13 @@ void EventsClass::setCursor(CursorType cursorType) {
|
||||
switch (cursorType) {
|
||||
case CURSOR_NONE:
|
||||
// No cursor
|
||||
cursor = _resourceManager->getSubResource(4, 1, 6, &size);
|
||||
_globals->setFlag(122);
|
||||
|
||||
if (_vm->getFeatures() & GF_DEMO) {
|
||||
CursorMan.showMouse(false);
|
||||
return;
|
||||
}
|
||||
cursor = _resourceManager->getSubResource(4, 1, 6, &size);
|
||||
break;
|
||||
|
||||
case CURSOR_LOOK:
|
||||
|
Loading…
x
Reference in New Issue
Block a user