From e053373dd344b96e9c29128b97196b3d7f9d2e75 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 22 Feb 2011 20:11:50 -0500 Subject: COMMON: Add a key color field to NECursor --- engines/mohawk/cursors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mohawk') 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; } -- cgit v1.2.3