mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
WINTERMUTE: Correct spelling mistake
refrence -> reference
This commit is contained in:
parent
0f2d69edef
commit
ca0ca397a5
@ -1557,14 +1557,14 @@ bool AdActor3DX::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisSta
|
||||
stack->correctParams(1);
|
||||
ScValue *val = stack->pop();
|
||||
if (!val->isNative()) {
|
||||
script->runtimeError("actor.%s method accepts an entity refrence only", name);
|
||||
script->runtimeError("actor.%s method accepts an entity reference only", name);
|
||||
stack->pushNULL();
|
||||
return true;
|
||||
}
|
||||
AdObject *obj = (AdObject *)val->getNative();
|
||||
|
||||
if (!obj || obj->getType() != OBJECT_ENTITY) {
|
||||
script->runtimeError("actor.%s method accepts an entity refrence only", name);
|
||||
script->runtimeError("actor.%s method accepts an entity reference only", name);
|
||||
stack->pushNULL();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user