aboutsummaryrefslogtreecommitdiff
path: root/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'object.cpp')
-rw-r--r--object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.cpp b/object.cpp
index 1c98b7d811..ba8553d164 100644
--- a/object.cpp
+++ b/object.cpp
@@ -32,7 +32,7 @@ bool Scumm::getClass(int obj, int cls) {
}
void Scumm::putClass(int obj, int cls, bool set) {
- checkRange(_numGlobalObjects-1, 0, obj, "Object %d out of range in getClass");
+ checkRange(_numGlobalObjects-1, 0, obj, "Object %d out of range in putClass");
cls &= 0x7F;
checkRange(32,1,cls,"Class %d out of range in getClass");