Fix ROADSTOP_DRAW_MODE_WAYP_GROUND when used with RSF_DRAW_MODE_REGISTER

This commit is contained in:
Jonathan G Rennison
2024-04-23 22:30:13 +01:00
parent 07cfa5f602
commit ce40e85ccc

View File

@@ -3590,7 +3590,7 @@ draw_default_foundation:
stop_draw_mode = (RoadStopDrawMode)GetRegister(0x100);
}
t = dts;
if (type == STATION_ROADWAYPOINT && (stopspec->draw_mode & ROADSTOP_DRAW_MODE_WAYP_GROUND)) {
if (type == STATION_ROADWAYPOINT && (stop_draw_mode & ROADSTOP_DRAW_MODE_WAYP_GROUND)) {
draw_ground = true;
}
}