1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-03 03:49:12 +00:00

(svn r10208) -Codechange: replace int32 with Money where appropriate.

This commit is contained in:
rubidium
2007-06-18 21:44:47 +00:00
parent 7a72dcb3b5
commit 2ee73b50b8
16 changed files with 137 additions and 121 deletions

View File

@@ -602,7 +602,7 @@ CommandCost CommandCost::AddCost(CommandCost ret)
return *this;
}
CommandCost CommandCost::AddCost(int32 cost)
CommandCost CommandCost::AddCost(Money cost)
{
this->cost += cost;
return *this;
@@ -614,7 +614,7 @@ CommandCost CommandCost::MultiplyCost(int factor)
return *this;
}
int32 CommandCost::GetCost() const
Money CommandCost::GetCost() const
{
return this->cost;
}