The mask was treated as a single RoadStopDrawMode instead of a RoadStopDrawModes bitset.
This commit is contained in:
@@ -298,7 +298,7 @@ void DrawRoadStopTile(int x, int y, RoadType roadtype, const RoadStopSpec *spec,
|
||||
|
||||
RoadStopDrawModes draw_mode;
|
||||
if (spec->flags.Test(RoadStopSpecFlag::DrawModeRegister)) {
|
||||
draw_mode = static_cast<RoadStopDrawMode>(object.GetRegister(0x100));
|
||||
draw_mode = static_cast<RoadStopDrawModes>(object.GetRegister(0x100));
|
||||
} else {
|
||||
draw_mode = spec->draw_mode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user