diff options
-rw-r--r-- | engines/mohawk/myst_areas.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mohawk/myst_areas.cpp b/engines/mohawk/myst_areas.cpp index 5f61201225..dec6bdcc72 100644 --- a/engines/mohawk/myst_areas.cpp +++ b/engines/mohawk/myst_areas.cpp @@ -725,18 +725,24 @@ uint16 MystResourceType11::getList1(uint16 index) { if (index < _lists[1].listCount) { return _lists[1].list[index]; } + + return 0; } uint16 MystResourceType11::getList2(uint16 index) { if (index < _lists[2].listCount) { return _lists[2].list[index]; } + + return 0; } uint16 MystResourceType11::getList3(uint16 index) { if (index < _lists[3].listCount) { return _lists[3].list[index]; } + + return 0; } MystResourceType12::MystResourceType12(MohawkEngine_Myst *vm, Common::SeekableReadStream *rlstStream, MystResource *parent) : MystResourceType11(vm, rlstStream, parent) { |