diff options
author | smatz <smatz@openttd.org> | 2008-04-29 18:08:14 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-04-29 18:08:14 +0000 |
commit | a870a66877adc4d4cb4cf6cac23ab06f4cbd160c (patch) | |
tree | 5b7786a1561363dc8b9aa5805366d86204a5ee81 | |
parent | fc60ef874deaa76873cc0326ae084d2be591fcd3 (diff) | |
download | openttd-a870a66877adc4d4cb4cf6cac23ab06f4cbd160c.tar.xz |
(svn r12920) -Fix (r12859): town rating was affected even after the test run
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 0e7f0a2a9..d78fec5da 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2453,7 +2453,7 @@ void SetTownRatingTestMode(bool mode) static int ref_count = 0; if (mode) { if (ref_count == 0) { - _town_test_ratings.empty(); + _town_test_ratings.clear(); } ref_count++; } else { |