(svn r15668) -Fix: a few typos.

This commit is contained in:
yexo 2009-03-11 07:32:31 +00:00
parent da0cbb2a2f
commit 13fb01d07d
4 changed files with 5 additions and 5 deletions

View File

@ -388,7 +388,7 @@ enum {
/* static */ bool AIInstance::SaveObject(HSQUIRRELVM vm, SQInteger index, int max_depth, bool test)
{
if (max_depth == 0) {
AILog::Error("Savedata can only be nested to 5 deep. No data saved.");
AILog::Error("Savedata can only be nested to 25 deep. No data saved.");
return false;
}
@ -499,7 +499,7 @@ enum {
}
default:
AILog::Error("You tried to save unsupported type. No data saved.");
AILog::Error("You tried to save an unsupported type. No data saved.");
return false;
}
}

View File

@ -88,7 +88,7 @@ void AIScanner::ScanDir(const char *dirname, bool library_scan, bool library_rec
if (!FioCheckFileExists(info_script, AI_DIR) || !FioCheckFileExists(main_script, AI_DIR)) continue;
DEBUG(ai, 6, "Loading AI at location '%s'", main_script);
/* We don't care if one of the other scripst failed to load. */
/* We don't care if one of the other scripts failed to load. */
this->engine->ResetCrashed();
this->engine->LoadScript(info_script);
} else {

View File

@ -56,7 +56,7 @@ public:
const AIInfoList *GetUniqueAIInfoList() { return &this->info_single_list; }
/**
* Get the engine of the main squirrel handler (it indexes all avialable squirrels).
* Get the engine of the main squirrel handler (it indexes all available scripts).
*/
class Squirrel *GetEngine() { return this->engine; }

View File

@ -80,7 +80,7 @@ SQInteger SquirrelStd::require(HSQUIRRELVM vm)
free(real_filename);
free(filen);
return ret ? 0: SQ_ERROR;
return ret ? 0 : SQ_ERROR;
}
SQInteger SquirrelStd::notifyallexceptions(HSQUIRRELVM vm)