Index: src/rail_cmd.cpp =================================================================== --- src/rail_cmd.cpp (revision 27688) +++ src/rail_cmd.cpp (working copy) @@ -68,7 +68,9 @@ uint i = 0; for (; i < lengthof(_original_railtypes); i++) _railtypes[i] = _original_railtypes[i]; - for (; i < lengthof(_railtypes); i++) _railtypes[i] = RailtypeInfo(); // zero-init + + static RailtypeInfo empty_railtype; + for (; i < lengthof(_railtypes); i++) _railtypes[i] = empty_railtype; } void ResolveRailTypeGUISprites(RailtypeInfo *rti)