diff options
author | Matthew Hoops | 2011-02-22 20:11:50 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-02-22 20:11:50 -0500 |
commit | e053373dd344b96e9c29128b97196b3d7f9d2e75 (patch) | |
tree | 77b48c7ee22b7ce6ff0d7750024fceb4772439b4 /engines/mohawk | |
parent | a2a0b13de2cd6fb28787b2821466f3ef7c2210ea (diff) | |
download | scummvm-rg350-e053373dd344b96e9c29128b97196b3d7f9d2e75.tar.gz scummvm-rg350-e053373dd344b96e9c29128b97196b3d7f9d2e75.tar.bz2 scummvm-rg350-e053373dd344b96e9c29128b97196b3d7f9d2e75.zip |
COMMON: Add a key color field to NECursor
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/cursors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp index ebc8d1ea8a..cdfdbb3a78 100644 --- a/engines/mohawk/cursors.cpp +++ b/engines/mohawk/cursors.cpp @@ -301,7 +301,7 @@ void NECursorManager::setCursor(uint16 id) { for (uint32 i = 0; i < cursors.size(); i++) { if (cursors[i].id == id) { Common::NECursor *cursor = cursors[i].cursors[0]; - CursorMan.replaceCursor(cursor->getSurface(), cursor->getWidth(), cursor->getHeight(), cursor->getHotspotX(), cursor->getHotspotY(), 0); + CursorMan.replaceCursor(cursor->getSurface(), cursor->getWidth(), cursor->getHeight(), cursor->getHotspotX(), cursor->getHotspotY(), cursor->getKeyColor()); CursorMan.replaceCursorPalette(cursor->getPalette(), 0, 256); return; } |