diff options
author | Max Horn | 2003-04-26 13:28:34 +0000 |
---|---|---|
committer | Max Horn | 2003-04-26 13:28:34 +0000 |
commit | 2d8fa42f4492ff4ea8defaa12569c8b4587e4454 (patch) | |
tree | b79d1beb3211d9be800fd1c65ca0c1dd66905eee /scumm/object.cpp | |
parent | 5626e42f5bf50ae7fdde587047d48cf6986d61e8 (diff) | |
download | scummvm-rg350-2d8fa42f4492ff4ea8defaa12569c8b4587e4454.tar.gz scummvm-rg350-2d8fa42f4492ff4ea8defaa12569c8b4587e4454.tar.bz2 scummvm-rg350-2d8fa42f4492ff4ea8defaa12569c8b4587e4454.zip |
renamed setCursorHotspot2 to setCursorHotspot; fixed (with a hack) cursor in Loom
svn-id: r7132
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r-- | scumm/object.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index e0fdce0597..7195089e4e 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -1250,17 +1250,17 @@ void Scumm::setCursorImg(uint img, uint room, uint imgindex) { findObjectInRoom(&foir, foCodeHeader | foImageHeader | foCheckAlreadyLoaded, img, room); if (_features & GF_AFTER_V8) { - setCursorHotspot2(READ_LE_UINT32(&foir.imhd->v8.hotspot[0].x), + setCursorHotspot(READ_LE_UINT32(&foir.imhd->v8.hotspot[0].x), READ_LE_UINT32(&foir.imhd->v8.hotspot[0].y)); w = READ_LE_UINT32(&foir.imhd->v8.width) >> 3; h = READ_LE_UINT32(&foir.imhd->v8.height) >> 3; } else if (_features & GF_AFTER_V7) { - setCursorHotspot2(READ_LE_UINT16(&foir.imhd->v7.hotspot[0].x), + setCursorHotspot(READ_LE_UINT16(&foir.imhd->v7.hotspot[0].x), READ_LE_UINT16(&foir.imhd->v7.hotspot[0].y)); w = READ_LE_UINT16(&foir.imhd->v7.width) >> 3; h = READ_LE_UINT16(&foir.imhd->v7.height) >> 3; } else { - setCursorHotspot2(READ_LE_UINT16(&foir.imhd->old.hotspot[0].x), + setCursorHotspot(READ_LE_UINT16(&foir.imhd->old.hotspot[0].x), READ_LE_UINT16(&foir.imhd->old.hotspot[0].y)); w = READ_LE_UINT16(&foir.cdhd->v6.w) >> 3; h = READ_LE_UINT16(&foir.cdhd->v6.h) >> 3; |