implemented most of librw wrapper

This commit is contained in:
aap committed 2020-04-15 14:05:40 +02:00
1 parent 6923117715
commit 90be379bed
22 files changed
+2212 -44

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ void CWeather::Update(void)
if (ForcedWeatherType >= 0)
NewWeatherType = ForcedWeatherType;
else {
WeatherTypeInList = (WeatherTypeInList + 1) % ARRAYSIZE(WeatherTypesList);
WeatherTypeInList = (WeatherTypeInList + 1) % ARRAY_SIZE(WeatherTypesList);
NewWeatherType = WeatherTypesList[WeatherTypeInList];
#ifdef FIX_BUGS
}