forked from mirror/OpenTTD
(svn r23352) -Add: support dynamically adding an API prefix when returning a C++ class to Squirrel
This commit is contained in:
@@ -112,7 +112,7 @@ AIInstance::AIInstance() :
|
||||
callback(NULL)
|
||||
{
|
||||
this->storage = new AIStorage();
|
||||
this->engine = new Squirrel();
|
||||
this->engine = new Squirrel("AI");
|
||||
this->engine->SetPrintFunction(&PrintFunc);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user