diff options
author | Bastien Bouclet | 2010-11-29 20:54:23 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-11-29 20:54:23 +0000 |
commit | d8b5319f153b859c4720e35fe791ad2605a86cff (patch) | |
tree | 1b1f85da07ca9d877105e46fb08b639a05909ccd /engines/mohawk | |
parent | 95e97094fbfde94a719a8885d954e5eb74063da8 (diff) | |
download | scummvm-rg350-d8b5319f153b859c4720e35fe791ad2605a86cff.tar.gz scummvm-rg350-d8b5319f153b859c4720e35fe791ad2605a86cff.tar.bz2 scummvm-rg350-d8b5319f153b859c4720e35fe791ad2605a86cff.zip |
MOHAWK: Fixed some warnings
svn-id: r54612
Diffstat (limited to 'engines/mohawk')
-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) { |