diff options
author | frosch <frosch@openttd.org> | 2009-11-24 23:34:46 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-11-24 23:34:46 +0000 |
commit | 324396ec74c018daf1dbda962ebb2a8fb093f8fd (patch) | |
tree | b2963992c7b05e06262917291155e094d0a5f097 /src/economy_type.h | |
parent | 830231e2bda3a2a68d3e8cc466059d8b5fcadb63 (diff) | |
download | openttd-324396ec74c018daf1dbda962ebb2a8fb093f8fd.tar.xz |
(svn r18284) -Cleanup (r18268, r18283): Replace magic value with enum.
Diffstat (limited to 'src/economy_type.h')
-rw-r--r-- | src/economy_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/economy_type.h b/src/economy_type.h index 24c8ca575..fd861e0b2 100644 --- a/src/economy_type.h +++ b/src/economy_type.h @@ -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; |