File diff r18763:938cba34d55a → r18764:f6e8611401f3
src/town_cmd.cpp
Show inline comments
 
@@ -47,6 +47,7 @@
 
#include "object_map.h"
 
#include "object_base.h"
 
#include "ai/ai.hpp"
 
#include "game/game.hpp"
 

	
 
#include "table/strings.h"
 
#include "table/town_land.h"
 
@@ -1698,6 +1699,7 @@ CommandCost CmdFoundTown(TileIndex tile,
 

	
 
			AddNewsItem(STR_NEWS_NEW_TOWN, NS_INDUSTRY_OPEN, NR_TILE, tile, NR_NONE, UINT32_MAX, cn);
 
			AI::BroadcastNewEvent(new ScriptEventTownFounded(t->index));
 
			Game::NewEvent(new ScriptEventTownFounded(t->index));
 
		}
 
	}
 
	return cost;