diff options
Diffstat (limited to 'engines/sword1/objectman.cpp')
-rw-r--r-- | engines/sword1/objectman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/objectman.cpp b/engines/sword1/objectman.cpp index afd17b118c..703f422b8b 100644 --- a/engines/sword1/objectman.cpp +++ b/engines/sword1/objectman.cpp @@ -136,7 +136,7 @@ uint32 ObjectMan::lastTextNumber(int section) { Object *ObjectMan::fetchObject(uint32 id) { uint8 *addr = _cptData[id / ITM_PER_SEC]; if (!addr) - error("fetchObject: section %d is not open!", id / ITM_PER_SEC); + error("fetchObject: section %d is not open", id / ITM_PER_SEC); id &= ITM_ID; // DON'T do endian conversion here. it's already done. return (Object*)(addr + *(uint32*)(addr + (id + 1)*4)); @@ -144,7 +144,7 @@ Object *ObjectMan::fetchObject(uint32 id) { uint32 ObjectMan::fetchNoObjects(int section) { if (_cptData[section] == NULL) - error("fetchNoObjects: section %d is not open!", section); + error("fetchNoObjects: section %d is not open", section); return *(uint32*)_cptData[section]; } |