(svn r12859) -Fix: make the town rating tests use less memory and much quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs.

This commit is contained in:
rubidium
2008-04-23 22:55:11 +00:00
parent 29ce273067
commit b2717d1426
2 changed files with 16 additions and 7 deletions

View File

@@ -124,7 +124,6 @@ struct Town : PoolItem<Town, TownID, &_Town_pool> {
PlayerByte exclusivity; ///< which player has exslusivity
uint8 exclusive_counter; ///< months till the exclusivity expires
int16 ratings[MAX_PLAYERS];
int16 test_rating;
/* Maximum amount of passengers and mail that can be transported. */
uint32 max_pass;