(svn r18284) -Cleanup (r18268, r18283): Replace magic value with enum.

This commit is contained in:
frosch
2009-11-24 23:34:46 +00:00
parent 13a72bb345
commit 0f31a2f7e4
2 changed files with 6 additions and 5 deletions

View File

@@ -192,6 +192,7 @@ static const uint64 MAX_INFLATION = (1ull << (63 - 32)) - 1;
enum {
MIN_PRICE_MODIFIER = -8,
MAX_PRICE_MODIFIER = 16,
INVALID_PRICE_MODIFIER = MIN_PRICE_MODIFIER - 1,
};
struct CargoPayment;