# HG changeset patch # User rubidium # Date 1216992050 0 # Node ID dc4e70779a31f9ffc542d6bf72f035e0b538c9b0 # Parent 0a6c2353e2a6754dcda5cfb338121520e2a0a6a6 (svn r13824) -Fix (r13822): also make sure a tile is a road stop tile before trying to get information about the roadstop... diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -570,6 +570,7 @@ } case MP_STATION: + if (!IsRoadStop(tile)) goto do_clear; if (IsDriveThroughStopTile(tile)) { if (pieces & ~AxisToRoadBits(DiagDirToAxis(GetRoadStopDir(tile)))) goto do_clear; } else {