From e9c38a97b089e2ba3aea32ea07a4ea6d85768348 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 4 Jul 2007 06:37:43 +0000 Subject: [PATCH] (svn r10430) -Fix: Too many town rating entry lookups (KUDr) --- src/newgrf_town.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/newgrf_town.cpp b/src/newgrf_town.cpp index 702ac81107..ae534df452 100644 --- a/src/newgrf_town.cpp +++ b/src/newgrf_town.cpp @@ -53,7 +53,6 @@ uint32 TownGetVariable(byte variable, byte parameter, bool *available, const Tow 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;