aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-01-26 19:04:24 +0000
committerSven Hesse2011-01-26 19:04:24 +0000
commitd71125dc214c122d753b95624077960df7e0bb8d (patch)
tree149d514f74b6d2bb8d241ba94e5991bfc2760c77 /engines/gob/draw_v2.cpp
parent7a41cd7fa958c1dff2383c55af45ae2251ca7c5a (diff)
downloadscummvm-rg350-d71125dc214c122d753b95624077960df7e0bb8d.tar.gz
scummvm-rg350-d71125dc214c122d753b95624077960df7e0bb8d.tar.bz2
scummvm-rg350-d71125dc214c122d753b95624077960df7e0bb8d.zip
GOB: Use a fake cursor for Addy for now :P
svn-id: r55550
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r--engines/gob/draw_v2.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp
index ee6f9132aa..e9564cd7ec 100644
--- a/engines/gob/draw_v2.cpp
+++ b/engines/gob/draw_v2.cpp
@@ -149,8 +149,12 @@ void Draw_v2::animateCursor(int16 cursor) {
cursorIndex * _cursorWidth, 0,
(cursorIndex + 1) * _cursorWidth - 1,
_cursorHeight - 1, 0, 0);
- CursorMan.replaceCursor(_scummvmCursor->getData(),
- _cursorWidth, _cursorHeight, hotspotX, hotspotY, 0, 1, &_vm->getPixelFormat());
+
+ if ((_vm->getGameType() != kGameTypeAdibou2) &&
+ (_vm->getGameType() != kGameTypeAdi2) &&
+ (_vm->getGameType() != kGameTypeAdi4))
+ CursorMan.replaceCursor(_scummvmCursor->getData(),
+ _cursorWidth, _cursorHeight, hotspotX, hotspotY, 0, 1, &_vm->getPixelFormat());
if (_frontSurface != _backSurface) {
if (!_noInvalidated) {