From 6145b99c22ba5dfaced8aa51776c855f765a9b1a Mon Sep 17 00:00:00 2001 From: truelight Date: Wed, 7 Sep 2005 15:10:11 +0000 Subject: (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!) --- station_cmd.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'station_cmd.c') 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; -- cgit v1.2.3-54-g00ecf