(svn r12920) -Fix (r12859): town rating was affected even after the test run
authorsmatz
Tue, 29 Apr 2008 18:08:14 +0000
changeset 9068 84318afa7067
parent 9067 5cd9fa28b860
child 9069 3830e57f6346
(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 {