From 2ee73b50b8dae28f53acabcb5b7c0e3f02139db2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 18 Jun 2007 21:44:47 +0000 Subject: (svn r10208) -Codechange: replace int32 with Money where appropriate. --- src/unmovable_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unmovable_cmd.cpp') 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) -- cgit v1.2.3-54-g00ecf