(svn r27862) [1.7] -Backport from trunk:
- Fix: Failed to load lzo compressed savegames sometimes [FS#6450] (r27793) - Fix: [Win32] Mark OpenTTD as DPI-aware to avoid OS window scaling that breaks mouse input [FS#6366] (r27791, r27790) - Fix: [NewGRF] Get vehicle load amount after executing new cargo trigger [FS#6536] (r27788) - Fix: AI configuration changed incorrect parameter when some parameters are hidden [FS#6479] (r27787, r27786) - Fix: Buoys not always drawn after being placed depending on zoom level [FS#6508] (r27785) - Fix: Allow rail conversion even if ship is on tile [FS#6505] (r27784)
This commit is contained in:
@@ -324,6 +324,7 @@ CommandCost CmdBuildBuoy(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
|
||||
if (wp->town == NULL) MakeDefaultName(wp);
|
||||
|
||||
MakeBuoy(tile, wp->index, GetWaterClass(tile));
|
||||
MarkTileDirtyByTile(tile);
|
||||
|
||||
wp->UpdateVirtCoord();
|
||||
InvalidateWindowData(WC_WAYPOINT_VIEW, wp->index);
|
||||
|
||||
Reference in New Issue
Block a user