diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2019-04-21 22:56:35 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-04-29 17:40:22 +0100 |
commit | f20b75d712c377c1ec639080e38fddb93b83883c (patch) | |
tree | a7399a85cefb739863d47861b5e84bee3c1f64b1 /src/town_cmd.cpp | |
parent | 0e439aeab7a564c0673464f6a701463a60d46ed5 (diff) | |
download | openttd-f20b75d712c377c1ec639080e38fddb93b83883c.tar.xz |
Codechange: Remove TownLayoutByte type
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 367eba45f..ef87d82c5 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -177,7 +177,7 @@ void Town::InitializeLayout(TownLayout layout) return; } - this->layout = TileHash(TileX(this->xy), TileY(this->xy)) % (NUM_TLS - 1); + this->layout = static_cast<TownLayout>(TileHash(TileX(this->xy), TileY(this->xy)) % (NUM_TLS - 1)); } /** |