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