diff options
author | Yexo <yexo@openttd.org> | 2020-05-04 22:54:36 +0200 |
---|---|---|
committer | Yexo <t.marinussen@gmail.com> | 2020-05-04 23:26:50 +0200 |
commit | 19dc31e0b3fdcf7f8b29b18747870cecacde85df (patch) | |
tree | 0fdaf50e78ec41058f40d91a591b1932749a61f9 /src | |
parent | 8edbb42fe82308bdb6cddb2f5f8e584e939f53f6 (diff) | |
download | openttd-19dc31e0b3fdcf7f8b29b18747870cecacde85df.tar.xz |
Fix #8108: always update tile_hash after updating v->tile
Diffstat (limited to 'src')
-rw-r--r-- | src/saveload/afterload.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 32dd7c747..9fbccf65e 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -1253,6 +1253,7 @@ bool AfterLoadGame() } } else if (v->z_pos > GetSlopePixelZ(v->x_pos, v->y_pos)) { v->tile = GetNorthernBridgeEnd(v->tile); + v->UpdatePosition(); } else { continue; } |