NSMonster: change error() to NSError() to aid debugging.

This commit is contained in:
Marco Cawthorne 2024-03-21 18:57:31 -07:00
parent 95b7c87ea3
commit 33d7c3cc50
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 1 additions and 1 deletions

View File

@ -1180,7 +1180,7 @@ NSMonster::FreeState(void)
NSMonsterLog("Killing %S", m_strSequenceKillTarget);
findKT.Destroy();
} else {
error("Could not remove scripted killtarget!\n");
NSError("Could not remove %S!", m_strSequenceKillTarget);
}
m_strSequenceKillTarget = __NULL__;