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 | 2ee73b50b8dae28f53acabcb5b7c0e3f02139db2 (patch) | |
tree | 56cef93f015d710536a1801fe14c3095d290a172 /src/command.cpp | |
parent | 7a72dcb3b57b70214c4d402be89f9b1dd158d790 (diff) | |
download | openttd-2ee73b50b8dae28f53acabcb5b7c0e3f02139db2.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; } |