(svn r10208) -Codechange: replace int32 with Money where appropriate.
This commit is contained in:
@@ -929,7 +929,7 @@ CommandCost CmdSellShip(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
|
||||
DeleteVehicle(v);
|
||||
}
|
||||
|
||||
return CommandCost(-(int32)v->value);
|
||||
return CommandCost(-v->value);
|
||||
}
|
||||
|
||||
/** Start/Stop a ship.
|
||||
|
Reference in New Issue
Block a user