mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-15 08:22:34 +01:00
(svn r16273) [0.7] -Backport from trunk:
- Fix: Wrong number of parameters or wrong parameter types sent to printf-like functions at several places (r16269) - Fix: [NewGRF] When callback 2E returns an amount of 0, do not transport 1 unit to the station (r16268) - Fix: [NoAI] Various documentation omissions with respect to IDs of various objects and corners for AITile::(Raise|Lower)Tile (r16267,r16266)
This commit is contained in:
@@ -455,6 +455,8 @@ static void TileLoop_Town(TileIndex tile)
|
||||
if (cargo == CT_INVALID) continue;
|
||||
|
||||
uint amt = GB(callback, 0, 8);
|
||||
if (amt == 0) continue;
|
||||
|
||||
uint moved = MoveGoodsToStation(tile, 1, 1, cargo, amt);
|
||||
|
||||
const CargoSpec *cs = GetCargo(cargo);
|
||||
|
||||
Reference in New Issue
Block a user