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

◆ IsWindy()

static bool IsWindy ( )
staticprotected

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

2391 {
2392 //check wind
2393 float wind_speed = g_Game.GetWeather().GetWindSpeed();
2394 float wind_speed_threshold = g_Game.GetWeather().GetWindMaximumSpeed() * FireplaceBase.IGNITE_WIND_THRESHOLD;
2395
2396 return (wind_speed >= wind_speed_threshold);
2397 }
DayZGame g_Game
Определения DayZGame.c:4074

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

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