aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorBastien Bouclet2010-11-29 20:54:23 +0000
committerBastien Bouclet2010-11-29 20:54:23 +0000
commitd8b5319f153b859c4720e35fe791ad2605a86cff (patch)
tree1b1f85da07ca9d877105e46fb08b639a05909ccd /engines/mohawk
parent95e97094fbfde94a719a8885d954e5eb74063da8 (diff)
downloadscummvm-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.cpp6
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) {