# HG changeset patch # User peter1138 # Date 2007-07-04 06:37:43 # Node ID 04c367fed4b4ebe394560d247d2652248503d774 # Parent 1014f8307f06e77e60ad3b2280d1548edf2ea6aa (svn r10430) -Fix: Too many town rating entry lookups (KUDr) diff --git a/src/newgrf_town.cpp b/src/newgrf_town.cpp --- a/src/newgrf_town.cpp +++ b/src/newgrf_town.cpp @@ -53,7 +53,6 @@ uint32 TownGetVariable(byte variable, by case 0xA3: return t->ratings[5]; case 0xA4: return t->ratings[6]; case 0xA5: return t->ratings[7]; - case 0xA6: return t->ratings[8]; case 0xAE: return t->have_ratings; case 0xB2: return t->statues; case 0xB6: return t->num_houses;