(svn r23263) -Documentation: stop naming AI in comments in script/ files; it makes no sense

This commit is contained in:
truebrain
2011-11-19 15:50:10 +00:00
parent e9dfd7a897
commit b927ae5be9
3 changed files with 3 additions and 4 deletions

View File

@@ -237,7 +237,7 @@ bool Squirrel::CallMethod(HSQOBJECT instance, const char *method_name, HSQOBJECT
sq_pushobject(this->vm, instance);
if (SQ_FAILED(sq_call(this->vm, 1, ret == NULL ? SQFalse : SQTrue, SQTrue, suspend))) return false;
if (ret != NULL) sq_getstackobj(vm, -1, ret);
/* Reset the top, but don't do so for the AI main function, as we need
/* Reset the top, but don't do so for the script main function, as we need
* a correct stack when resuming. */
if (suspend == -1 || !this->IsSuspended()) sq_settop(this->vm, top);
/* Restore the return-value location. */