From 9a9d0cb0a5fbbce0f59d0b7587067f9e08cd98e2 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 12 Aug 2007 11:16:43 +0000 Subject: Cleaned up structures for room exit joins svn-id: r28550 --- engines/lure/res.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/lure/res.cpp') 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; } -- cgit v1.2.3