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

This commit is contained in:
rubidium
2007-06-18 21:44:47 +00:00
parent 7dda2d93da
commit 23727da96f
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;
}