diff options
Diffstat (limited to 'engines/lure/res.cpp')
-rw-r--r-- | engines/lure/res.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/res.cpp b/engines/lure/res.cpp index 4da38eddc7..a2f2530248 100644 --- a/engines/lure/res.cpp +++ b/engines/lure/res.cpp @@ -341,7 +341,7 @@ RoomExitJoinData *Resources::getExitJoin(uint16 hotspotId) { for (i = _exitJoins.begin(); i != _exitJoins.end(); ++i) { RoomExitJoinData *rec = *i; - if ((rec->hotspot1Id == hotspotId) || (rec->hotspot2Id == hotspotId)) + if ((rec->hotspots[0].hotspotId == hotspotId) || (rec->hotspots[1].hotspotId == hotspotId)) return rec; } |