mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 11:44:17 +01:00
(svn r13198) [0.6] -Backport from trunk (r12910, r12914, r12915, r12919, r12920):
- Fix: Town rating was affected even after the test run (r12920) - Fix: Flood road tiles even when there are road works in progress [FS#1965] (r12919) - Fix: Do not initialize Station struct with tile=0, buoys will never change that value [FS#1960] (r12915) - Fix: Game crash when a spectator/server tried to show an engine with no owner when a NewGRF requested a specific variable (r12914) - Fix: Report reverse sprite status (FD/FE) to NewGRF for manually toggled vehicles (r12910)
This commit is contained in:
@@ -2438,7 +2438,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 {
|
||||
|
||||
Reference in New Issue
Block a user