summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-09-07 15:10:11 +0000
committertruelight <truelight@openttd.org>2005-09-07 15:10:11 +0000
commit6145b99c22ba5dfaced8aa51776c855f765a9b1a (patch)
tree692137bc97cba13a50b293ec5598e1abe6982f5e /station_cmd.c
parent5a92c4982d48167317f5f8844d6e3e311a979bdb (diff)
downloadopenttd-6145b99c22ba5dfaced8aa51776c855f765a9b1a.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.c7
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;