diff options
Diffstat (limited to 'engines/mohawk/myst_areas.cpp')
-rw-r--r-- | engines/mohawk/myst_areas.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/mohawk/myst_areas.cpp b/engines/mohawk/myst_areas.cpp index f213981c69..d38cccf874 100644 --- a/engines/mohawk/myst_areas.cpp +++ b/engines/mohawk/myst_areas.cpp @@ -721,24 +721,24 @@ void MystResourceType11::setPositionClipping(const Common::Point &mouse, Common: } uint16 MystResourceType11::getList1(uint16 index) { - if (index < _lists[1].listCount) { - return _lists[1].list[index]; + if (index < _lists[0].listCount) { + return _lists[0].list[index]; } return 0; } uint16 MystResourceType11::getList2(uint16 index) { - if (index < _lists[2].listCount) { - return _lists[2].list[index]; + if (index < _lists[1].listCount) { + return _lists[1].list[index]; } return 0; } uint16 MystResourceType11::getList3(uint16 index) { - if (index < _lists[3].listCount) { - return _lists[3].list[index]; + if (index < _lists[2].listCount) { + return _lists[2].list[index]; } return 0; |