diff options
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index db93a7a00..c8e271178 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -21,7 +21,7 @@ #include "company_base.h" #include "news_func.h" #include "gui.h" -#include "unmovable_map.h" +#include "unmovable.h" #include "genworld.h" #include "newgrf_debug.h" #include "newgrf_house.h" @@ -2504,7 +2504,7 @@ static CommandCost TownActionBuildStatue(Town *t, DoCommandFlag flags) if (CircularTileSearch(&tile, 9, SearchTileForStatue, NULL)) { if (flags & DC_EXEC) { DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR); - MakeStatue(tile, _current_company, t->index); + BuildUnmovable(UNMOVABLE_STATUE, tile, _current_company, t->index); SetBit(t->statues, _current_company); // Once found and built, "inform" the Town. MarkTileDirtyByTile(tile); } |