#8438 closed patch (invalid)
small fix for findObjectInRoom
Reported by: | SF/albeu | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: |
Description
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.
Attachments (1)
Change History (6)
by , 19 years ago
Attachment: | scummvm-findInRoomFix.diff added |
---|
comment:1 by , 19 years ago
Component: | --Unset-- |
---|---|
Summary: | [PATCH] small fix in findObjectInRoom → small fix for findObjectInRoom |
comment:2 by , 19 years ago
The attached patch doesn't fix the problem, it just avoids it.
I commited a proper fix to CVS.
comment:3 by , 19 years ago
Owner: | set to |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:4 by , 19 years ago
Thanks for the care. I just wanted to confirm that your fix is working as expected.
comment:5 by , 6 years ago
Component: | → Engine: SCUMM |
---|
patch