summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-07-04 06:37:43 +0000
committerpeter1138 <peter1138@openttd.org>2007-07-04 06:37:43 +0000
commite9c38a97b089e2ba3aea32ea07a4ea6d85768348 (patch)
tree443b1ff9a359736c7a93f53944e2c28b651f25bd /src
parent415d5af03ded20a0641d9bf8e8c0e9086d39c5f7 (diff)
downloadopenttd-e9c38a97b089e2ba3aea32ea07a4ea6d85768348.tar.xz
(svn r10430) -Fix: Too many town rating entry lookups (KUDr)
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_town.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/newgrf_town.cpp b/src/newgrf_town.cpp
index 702ac8110..ae534df45 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;