summaryrefslogtreecommitdiff
path: root/src/town.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-23 22:55:11 +0000
committerrubidium <rubidium@openttd.org>2008-04-23 22:55:11 +0000
commitb2717d1426fb6c21987eee9754cf1cd1613a8a29 (patch)
treefaaf1a3f0f22bc1c8f8b88cbe1409023cc2b646c /src/town.h
parent29ce273067e4940486b5eda4522c6d1c6e5d58f1 (diff)
downloadopenttd-b2717d1426fb6c21987eee9754cf1cd1613a8a29.tar.xz
(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.
Diffstat (limited to 'src/town.h')
-rw-r--r--src/town.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/town.h b/src/town.h
index 068567842..ab49775d3 100644
--- a/src/town.h
+++ b/src/town.h
@@ -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;