aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-11 23:51:02 -0400
committerPaul Gilbert2015-06-11 23:51:02 -0400
commit5f2218c326ecee0b59fd6111129776f29714dfb8 (patch)
tree814e357a964ee4509190e666d9f80d07fdd17e9b
parent82b3559d69c26067b4d8238e07f937a62b27a648 (diff)
downloadscummvm-rg350-5f2218c326ecee0b59fd6111129776f29714dfb8.tar.gz
scummvm-rg350-5f2218c326ecee0b59fd6111129776f29714dfb8.tar.bz2
scummvm-rg350-5f2218c326ecee0b59fd6111129776f29714dfb8.zip
SHERLOCK: Remove redundant cursor animation when searching journal
-rw-r--r--engines/sherlock/journal.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/sherlock/journal.cpp b/engines/sherlock/journal.cpp
index bdf116b882..19502b52a2 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 {