equal
deleted
inserted
replaced
195 |
195 |
196 /* TODO -- This is ugly! */ |
196 /* TODO -- This is ugly! */ |
197 strcpy(filename, "ai/"); |
197 strcpy(filename, "ai/"); |
198 strcat(filename, script_dir); |
198 strcat(filename, script_dir); |
199 strcat(filename, PATHSEP); |
199 strcat(filename, PATHSEP); |
200 strcat(filename, "main.sq"); |
200 strcat(filename, "main.nut"); |
201 |
201 |
202 DEBUG(ai, 1, "[squirrel] Starting AI with script in '%s'", filename); |
202 DEBUG(ai, 1, "[squirrel] Starting AI with script in '%s'", filename); |
203 |
203 |
204 sq_pushroottable(this->vm); |
204 sq_pushroottable(this->vm); |
205 this->RegisterClasses(); |
205 this->RegisterClasses(); |