Ticket #8627: inventory_cursor_updated.patch
File inventory_cursor_updated.patch, 664 bytes (added by , 18 years ago) |
---|
-
engines/sky/logic.cpp
1207 1207 _compact = scriptComp; 1208 1208 uint16 retVal = script((uint16)(scrNum & 0xFFFF), (uint16)(scrNum >> 16)); 1209 1209 _compact = tmpComp; 1210 1211 if (scrNum == MENU_SELECT) { 1212 // The user has clicked on an inventory item. We update the 1213 // mouse cursor instead of waiting for the script to update it. 1214 // In the original game the cursor is just updated when the mouse 1215 // moves away the item, but it's unintuitive. 1216 fnCrossMouse(0, 0, 0); 1217 } 1218 1210 1219 return retVal; 1211 1220 } 1212 1221