1
0
Fork 0

(svn r15742) -Fix (r15736): AIs with an invalid info.nut weren't ignored anymore.

release/1.0
yexo 2009-03-16 14:40:32 +00:00
parent cabf57b221
commit b078f8095a
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ AILibrary::~AILibrary()
/* static */ SQInteger AIFileInfo::Constructor(HSQUIRRELVM vm, AIFileInfo *info)
{
ScriptFileInfo::Constructor(vm, info);
SQInteger res = ScriptFileInfo::Constructor(vm, info);
if (res != 0) return res;
info->base = ((AIScanner *)Squirrel::GetGlobalPointer(vm));
return 0;