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)
comment:1 by , 16 years ago
|Summary:||[PATCH] small fix in findObjectInRoom → small fix for findObjectInRoom|