BS1: Mouse coords not being updated on button down events
|Reported by:||vinterstum||Owned by:||fingolfin|
|Game:||Broken Sword 1|
I noticed this while working on the iPhone port.
Basically, if an EVENT_LBUTTONDOWN event is returned from pollEvent(), the click will register as having happened at the coordinates of the last EVENT_MOUSEMOVE event instead of the LBUTTONDOWN event.
As a workaround I always force a MOUSEMOVE event before any LBUTTONDOWN event, but it shouldn't be necessary IMO (and any other touchscreen backend would have to implement the same workaround).
I believe someone mentioned BS2 has the same issue, but I haven't verified that myself.
Ticket imported from: #1838880. Ticket imported from: bugs/3462.