(svn r12920) -Fix (r12859): town rating was affected even after the test run
authorsmatz
Tue, 29 Apr 2008 18:08:14 +0000
changeset 10379 192780749293
parent 10378 ecad8e9b4cb6
child 10380 b36a754e4c21
(svn r12920) -Fix (r12859): town rating was affected even after the test run
src/town_cmd.cpp
--- a/src/town_cmd.cpp	Tue Apr 29 16:36:44 2008 +0000
+++ b/src/town_cmd.cpp	Tue Apr 29 18:08:14 2008 +0000
@@ -2453,7 +2453,7 @@
 	static int ref_count = 0;
 	if (mode) {
 		if (ref_count == 0) {
-			_town_test_ratings.empty();
+			_town_test_ratings.clear();
 		}
 		ref_count++;
 	} else {