(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')

This commit is contained in:
truebrain
2011-12-01 12:04:10 +00:00
parent fedeba5f00
commit a8b22e5292
15 changed files with 27 additions and 27 deletions

View File

@@ -445,7 +445,7 @@ int32 ScriptList::Begin()
int32 ScriptList::Next()
{
if (this->initialized == false) {
DEBUG(ai, 0, "Next() is invalid as Begin() is never called");
DEBUG(script, 0, "Next() is invalid as Begin() is never called");
return 0;
}
return this->sorter->Next();
@@ -459,7 +459,7 @@ bool ScriptList::IsEmpty()
bool ScriptList::IsEnd()
{
if (this->initialized == false) {
DEBUG(ai, 0, "IsEnd() is invalid as Begin() is never called");
DEBUG(script, 0, "IsEnd() is invalid as Begin() is never called");
return true;
}
return this->sorter->IsEnd();