Core/AI: use NullGameObjectAI for gameobjects with ScriptName

- use GameObjectAI with Transports too

--HG--
branch : trunk
This commit is contained in:
Rat
2010-10-25 18:11:52 +02:00
parent b282438198
commit 064b3fd2b3
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ namespace FactorySelector
//future goAI types go here
std::string ainame = (ai_factory == NULL) ? "NullGameObjectAI" : ai_factory->key();
std::string ainame = (ai_factory == NULL || go->GetScriptId()) ? "NullGameObjectAI" : ai_factory->key();
sLog.outStaticDebug("GameObject %u used AI is %s.", go->GetGUIDLow(), ainame.c_str());