NSMonster: change error() to NSError() to aid debugging.
This commit is contained in:
parent
95b7c87ea3
commit
33d7c3cc50
|
@ -1180,7 +1180,7 @@ NSMonster::FreeState(void)
|
||||||
NSMonsterLog("Killing %S", m_strSequenceKillTarget);
|
NSMonsterLog("Killing %S", m_strSequenceKillTarget);
|
||||||
findKT.Destroy();
|
findKT.Destroy();
|
||||||
} else {
|
} else {
|
||||||
error("Could not remove scripted killtarget!\n");
|
NSError("Could not remove %S!", m_strSequenceKillTarget);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_strSequenceKillTarget = __NULL__;
|
m_strSequenceKillTarget = __NULL__;
|
||||||
|
|
Loading…
Reference in New Issue