diff options
author | truelight <truelight@openttd.org> | 2005-09-07 15:10:11 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-09-07 15:10:11 +0000 |
commit | 991d5c623467ee13c0f3df90eaa2d5127a4d5be9 (patch) | |
tree | 692137bc97cba13a50b293ec5598e1abe6982f5e /station_cmd.c | |
parent | e39bf0dc3411347759e7d55080f051d4935353c7 (diff) | |
download | openttd-991d5c623467ee13c0f3df90eaa2d5127a4d5be9.tar.xz |
(svn r2921) -Codechange: moved all AI-code to 1 central place (ai/ai.c)
-Fix: removed the ability for the oldAI to cheat (this will criple him somewhat)
-Add: base-code for many improvements to come in the AI-system
-Add: added base-code for multiplayer AIs (DOES NOT WORK YET!)
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/station_cmd.c b/station_cmd.c index 3199d4d4f..6496cffb1 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -2546,8 +2546,6 @@ static void StationHandleBigTick(Station *st) static inline void byte_inc_sat(byte *p) { byte b = *p + 1; if (b != 0) *p = b; } -static byte _rating_boost[3] = { 0, 31, 63}; - static void UpdateStationRating(Station *st) { GoodsEntry *ge; @@ -2581,11 +2579,6 @@ static void UpdateStationRating(Station *st) (rating += 13, true); } - { - if (st->owner != OWNER_NONE && !IS_HUMAN_PLAYER(st->owner)) - rating += _rating_boost[_opt.diff.competitor_intelligence]; - } - if (st->owner < MAX_PLAYERS && HASBIT(st->town->statues, st->owner)) rating += 26; |