1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 03:19:10 +00:00

(svn r12920) -Fix (r12859): town rating was affected even after the test run

This commit is contained in:
smatz
2008-04-29 18:08:14 +00:00
parent fc60ef874d
commit a870a66877

View File

@@ -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 {