MADE: Fix error message

This commit is contained in:
Torbjörn Andersson 2022-03-01 14:10:12 +01:00
parent a76eed187c
commit fd8ba511fc

View File

@ -754,7 +754,7 @@ int16 GameDatabaseV3::loadgame(const char *filename, int16 version) {
int16 *GameDatabaseV3::findObjectProperty(int16 objectIndex, int16 propertyId, int16 &propertyFlag) {
Object *obj = getObject(objectIndex);
if (obj->getClass() >= 0x7FFE) {
error("GameDatabaseV2::findObjectProperty(%04X, %04X) Not an object", objectIndex, propertyId);
error("GameDatabaseV3::findObjectProperty(%04X, %04X) Not an object", objectIndex, propertyId);
}
int16 *prop = (int16 *)obj->getData();