aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/object.cpp')
-rw-r--r--engines/scumm/object.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/object.cpp b/engines/scumm/object.cpp
index df0b3e1035..1581eb32a9 100644
--- a/engines/scumm/object.cpp
+++ b/engines/scumm/object.cpp
@@ -237,6 +237,8 @@ bool ScummEngine::getClass(int obj, int cls) const {
case kObjectClassYFlip:
cls = 18;
break;
+ default:
+ break;
}
}
@@ -267,6 +269,8 @@ void ScummEngine::putClass(int obj, int cls, bool set) {
case kObjectClassYFlip:
cls = 18;
break;
+ default:
+ break;
}
}
@@ -391,6 +395,8 @@ int ScummEngine::getObjectOrActorXY(int object, int &x, int &y) {
}
}
return -1;
+ default:
+ break;
}
getObjectXYPos(object, x, y);
return 0;