aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-03-22 20:13:01 -0400
committerMatthew Hoops2011-03-22 20:13:01 -0400
commit1ca67818594a9fb3ca5acfa3d7bb8f5e6c6c98c7 (patch)
treea9e13cb68ba356aeeca7236709289c3cb74e438f /engines
parent4d6c020cf4c3f6c5acc5d025bbf9d5b4e879e129 (diff)
downloadscummvm-rg350-1ca67818594a9fb3ca5acfa3d7bb8f5e6c6c98c7.tar.gz
scummvm-rg350-1ca67818594a9fb3ca5acfa3d7bb8f5e6c6c98c7.tar.bz2
scummvm-rg350-1ca67818594a9fb3ca5acfa3d7bb8f5e6c6c98c7.zip
MOHAWK: Minor cursor call cleanup
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/riven_scripts.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/mohawk/riven_scripts.cpp b/engines/mohawk/riven_scripts.cpp
index 98452e1e09..f8aa56e71e 100644
--- a/engines/mohawk/riven_scripts.cpp
+++ b/engines/mohawk/riven_scripts.cpp
@@ -32,7 +32,6 @@
#include "mohawk/video.h"
#include "common/stream.h"
-#include "graphics/cursorman.h"
namespace Mohawk {
@@ -513,9 +512,9 @@ void RivenScript::enableMovie(uint16 op, uint16 argc, uint16 *argv) {
// Command 32: play foreground movie - blocking (movie_id)
void RivenScript::playMovieBlocking(uint16 op, uint16 argc, uint16 *argv) {
- CursorMan.showMouse(false); // Hide the cursor before playing the video
+ _vm->_cursor->hideCursor();
_vm->_video->playMovieBlockingRiven(argv[0]);
- CursorMan.showMouse(true); // Show the cursor again when we're done ;)
+ _vm->_cursor->showCursor();
}
// Command 33: play background movie - nonblocking (movie_id)