diff options
author | rubidium <rubidium@openttd.org> | 2007-06-18 21:44:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-18 21:44:47 +0000 |
commit | 23727da96f66d7df800cc5aa70d05abce8002d79 (patch) | |
tree | 56cef93f015d710536a1801fe14c3095d290a172 /src/command.cpp | |
parent | 7dda2d93da840519f1388d0191a00362ff97feb6 (diff) | |
download | openttd-23727da96f66d7df800cc5aa70d05abce8002d79.tar.xz |
(svn r10208) -Codechange: replace int32 with Money where appropriate.
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.cpp b/src/command.cpp index c55846679..31c0d417e 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -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; } |