(svn r23632) -Add: GSCompanyMode, to change company in GameScripts

This commit is contained in:
truebrain
2011-12-19 21:05:25 +00:00
parent 403cd3acdb
commit cc3f42794d
46 changed files with 273 additions and 59 deletions

View File

@@ -46,10 +46,11 @@
ScriptLog::Log(error_msg ? ScriptLog::LOG_SQ_ERROR : ScriptLog::LOG_SQ_INFO, message);
}
ScriptController::ScriptController() :
ScriptController::ScriptController(CompanyID company) :
ticks(0),
loaded_library_count(0)
{
ScriptObject::SetCompany(company);
}
ScriptController::~ScriptController()