[Scummvm-cvs-logs] scummvm master -> 6fc719fdae444acdf3fa18b2c3a9e34e70d6ff86

dreammaster dreammaster at scummvm.org
Fri Sep 18 03:37:40 CEST 2015


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:
6fc719fdae SHERLOCK: RT: Don't show cursor during intro


Commit: 6fc719fdae444acdf3fa18b2c3a9e34e70d6ff86
    https://github.com/scummvm/scummvm/commit/6fc719fdae444acdf3fa18b2c3a9e34e70d6ff86
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-09-17T21:37:08-04:00

Commit Message:
SHERLOCK: RT: Don't show cursor during intro

Changed paths:
    engines/sherlock/events.cpp



diff --git a/engines/sherlock/events.cpp b/engines/sherlock/events.cpp
index 697c142..c6a223b 100644
--- a/engines/sherlock/events.cpp
+++ b/engines/sherlock/events.cpp
@@ -28,6 +28,7 @@
 #include "sherlock/sherlock.h"
 #include "sherlock/events.h"
 #include "sherlock/surface.h"
+#include "sherlock/tattoo/tattoo.h"
 
 namespace Sherlock {
 
@@ -173,7 +174,8 @@ void Events::animateCursorIfNeeded() {
 }
 
 void Events::showCursor() {
-	CursorMan.showMouse(true);
+	if (IS_SERRATED_SCALPEL || !static_cast<Tattoo::TattooEngine *>(_vm)->_runningProlog)
+		CursorMan.showMouse(true);
 }
 
 void Events::hideCursor() {






More information about the Scummvm-git-logs mailing list