Move scale factor setting scaling to common function

This commit is contained in:
Jonathan G Rennison
2020-12-21 20:43:14 +00:00
parent bfbd2de477
commit c7fa284db4
3 changed files with 36 additions and 27 deletions

View File

@@ -49,4 +49,7 @@ static inline bool EconomyIsInRecession()
return _economy.fluct <= 0;
}
uint ScaleQuantity(uint amount, int scale_factor);
uint ScaleQuantity(uint amount, int cf, int fine);
#endif /* ECONOMY_FUNC_H */