[Scummvm-git-logs] scummvm master -> df896e40a71b92061b36f4eee974dd730be88974

sev- sev at scummvm.org
Sun Dec 11 14:40:11 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
df896e40a7 FULLPIPE: Workaround for cursor in scene26.


Commit: df896e40a71b92061b36f4eee974dd730be88974
    https://github.com/scummvm/scummvm/commit/df896e40a71b92061b36f4eee974dd730be88974
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-12-11T14:39:30+01:00

Commit Message:
FULLPIPE: Workaround for cursor in scene26.

Fixes bug #9667

Changed paths:
    engines/fullpipe/scenes/scene26.cpp


diff --git a/engines/fullpipe/scenes/scene26.cpp b/engines/fullpipe/scenes/scene26.cpp
index 9706bd5..0efabae 100644
--- a/engines/fullpipe/scenes/scene26.cpp
+++ b/engines/fullpipe/scenes/scene26.cpp
@@ -69,6 +69,11 @@ int scene26_updateCursor() {
 	if (g_fp->_objectIdAtCursor != ANI_VENT || g_fp->_cursorId != PIC_CSR_DEFAULT) {
 		if (g_fp->_cursorId == PIC_CSR_ITN && g_fp->_objectIdAtCursor == PIC_SC26_LTRUBA)
 			g_fp->_cursorId = PIC_CSR_GOL;
+
+		// WORKAROUND: Fixing cursor
+		if (g_fp->_objectIdAtCursor == PIC_SC26_LTRUBA &&
+			(g_fp->_cursorId == PIC_CSR_GOU || g_fp->_cursorId == PIC_CSR_GOD || g_fp->_cursorId == PIC_CSR_GOR))
+				g_fp->_cursorId = PIC_CSR_GOL;
 	} else {
 		g_fp->_cursorId = PIC_CSR_ITN;
 	}





More information about the Scummvm-git-logs mailing list