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/unmovable_cmd.cpp | |
parent | 7dda2d93da840519f1388d0191a00362ff97feb6 (diff) | |
download | openttd-23727da96f66d7df800cc5aa70d05abce8002d79.tar.xz |
(svn r10208) -Codechange: replace int32 with Money where appropriate.
Diffstat (limited to 'src/unmovable_cmd.cpp')
-rw-r--r-- | src/unmovable_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp index c1921e9a0..747e24979 100644 --- a/src/unmovable_cmd.cpp +++ b/src/unmovable_cmd.cpp @@ -49,7 +49,7 @@ static CommandCost DestroyCompanyHQ(PlayerID pid, uint32 flags) } /* cost of relocating company is 1% of company value */ - return CommandCost((int32)(CalculateCompanyValue(p) / 100)); + return CommandCost(CalculateCompanyValue(p) / 100); } void UpdateCompanyHQ(Player *p, uint score) |