[ scummvm-Bugs-1222246 ] [PATCH] small fix in findObjectInRoom

SourceForge.net noreply at sourceforge.net
Fri Jun 17 00:35:18 CEST 2005


Bugs item #1222246, was opened at 2005-06-17 00:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1222246&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unknown Crash/Other
Group: All Games
Status: Open
Resolution: None
Priority: 5
Submitted By: Alban Bedel (albeu)
Assigned to: Nobody/Anonymous (nobody)
Summary: [PATCH] small fix in findObjectInRoom

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1222246&group_id=37116




More information about the Scummvm-tracker mailing list