(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)
This commit is contained in:
@@ -1616,7 +1616,7 @@ CommandCost CmdFoundTown(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
|
||||
SetDParam(1, t->index);
|
||||
|
||||
AddNewsItem(STR_NEWS_NEW_TOWN, NS_INDUSTRY_OPEN, NR_TILE, tile, NR_NONE, UINT32_MAX, cn);
|
||||
AI::BroadcastNewEvent(new AIEventTownFounded(t->index));
|
||||
AI::BroadcastNewEvent(new ScriptEventTownFounded(t->index));
|
||||
}
|
||||
}
|
||||
return cost;
|
||||
|
Reference in New Issue
Block a user