mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 00:42:45 +01:00
(svn r10208) -Codechange: replace int32 with Money where appropriate.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user