[Scummvm-cvs-logs] scummvm master -> 5f2218c326ecee0b59fd6111129776f29714dfb8
dreammaster
dreammaster at scummvm.org
Fri Jun 12 05:52:12 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:
5f2218c326 SHERLOCK: Remove redundant cursor animation when searching journal
Commit: 5f2218c326ecee0b59fd6111129776f29714dfb8
https://github.com/scummvm/scummvm/commit/5f2218c326ecee0b59fd6111129776f29714dfb8
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-06-11T23:51:02-04:00
Commit Message:
SHERLOCK: Remove redundant cursor animation when searching journal
Changed paths:
engines/sherlock/journal.cpp
diff --git a/engines/sherlock/journal.cpp b/engines/sherlock/journal.cpp
index bdf116b..19502b5 100644
--- a/engines/sherlock/journal.cpp
+++ b/engines/sherlock/journal.cpp
@@ -720,12 +720,6 @@ bool Journal::drawJournal(int direction, int howFar) {
// Move backwards howFar number of lines unless either the start of the journal is reached,
// or a searched for keyword is found
do {
- // Animate the glass mouse cursor
- int cursorNum = (int)events.getCursor() + 1;
- if (cursorNum > (WAIT + 2))
- cursorNum = WAIT;
- events.setCursor((CursorId)cursorNum);
-
// Move backwards through the journal file a line at a time
if (--_sub < 0) {
do {
More information about the Scummvm-git-logs
mailing list