diff options
Diffstat (limited to 'src/functions.h')
-rw-r--r-- | src/functions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/functions.h b/src/functions.h index cc885917e..9edddce4b 100644 --- a/src/functions.h +++ b/src/functions.h @@ -20,9 +20,9 @@ void DrawShipDepotSprite(int x, int y, int image); void TileLoop_Water(TileIndex tile); /* players.cpp */ -bool CheckPlayerHasMoney(int32 cost); -void SubtractMoneyFromPlayer(int32 cost); -void SubtractMoneyFromPlayerFract(PlayerID player, int32 cost); +bool CheckPlayerHasMoney(CommandCost cost); +void SubtractMoneyFromPlayer(CommandCost cost); +void SubtractMoneyFromPlayerFract(PlayerID player, CommandCost cost); bool CheckOwnership(Owner owner); bool CheckTileOwnership(TileIndex tile); StringID GetPlayerNameString(PlayerID player, uint index); |