DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ IsWindy()

static bool IsWindy ( )
staticprotected

См. определение в файле FireplaceBase.c строка 2374

2375 {
2376 //check wind
2377 float wind_speed = g_Game.GetWeather().GetWindSpeed();
2378 float wind_speed_threshold = g_Game.GetWeather().GetWindMaximumSpeed() * FireplaceBase.IGNITE_WIND_THRESHOLD;
2379
2380 return (wind_speed >= wind_speed_threshold);
2381 }
DayZGame g_Game
Определения DayZGame.c:3942

Перекрестные ссылки g_Game.

Используется в FireplaceBase::IsThisIgnitionSuccessful() и StartHeating().