Opened 18 years ago
Closed 18 years ago
Last modified 5 years ago
#8438 closed patch (invalid)
small fix for findObjectInRoom
|Reported by:||SF/albeu||Owned by:||fingolfin|
Setting the mouse cursor from a non fl object located in the current room fail. This is due to a bug in findObjectInRoom. At the start of this function an if block handle the case of alredy loaded fl objects. However the current test just assume that any local object will be an fl object. The attached patch fix the problem by just checking that fl_object_index is set.
Ticket imported from: #1222246. Ticket imported from: patches/543.
Change History (6)
by , 18 years ago
comment:1 by , 18 years ago
|Summary:||[PATCH] small fix in findObjectInRoom → small fix for findObjectInRoom|
comment:2 by , 18 years ago
The attached patch doesn't fix the problem, it just avoids it.
I commited a proper fix to CVS.
comment:3 by , 18 years ago
|Status:||new → closed|
comment:4 by , 18 years ago
Thanks for the care. I just wanted to confirm that your fix is working as expected.
comment:5 by , 5 years ago
|Component:||→ Engine: SCUMM|