diff options
| author | Paul Gilbert | 2011-05-15 22:56:35 +1000 | 
|---|---|---|
| committer | Paul Gilbert | 2011-05-16 20:13:37 +1000 | 
| commit | 98c4d739f2820e174e40b9da37cb37940781e417 (patch) | |
| tree | ffe57f3a3cf95ceef7d0ad30edb36c4beeb1476b | |
| parent | 760e8d4e6e215a760145608ed051341b65929004 (diff) | |
| download | scummvm-rg350-98c4d739f2820e174e40b9da37cb37940781e417.tar.gz scummvm-rg350-98c4d739f2820e174e40b9da37cb37940781e417.tar.bz2 scummvm-rg350-98c4d739f2820e174e40b9da37cb37940781e417.zip | |
TSAGE: Fix for crash when hiding cursor in Ringworld demo
| -rw-r--r-- | engines/tsage/events.cpp | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/engines/tsage/events.cpp b/engines/tsage/events.cpp index 132225dacb..e889c56c4d 100644 --- a/engines/tsage/events.cpp +++ b/engines/tsage/events.cpp @@ -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: | 
