mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-21 05:52:44 +02:00
fix
This commit is contained in:
@@ -111,7 +111,7 @@ void CWeather::Init(void)
|
|||||||
|
|
||||||
void CWeather::Update(void)
|
void CWeather::Update(void)
|
||||||
{
|
{
|
||||||
float fNewInterpolation = CClock::GetMinutes() / 60.0f;
|
float fNewInterpolation = CClock::GetMinutes() * 1.0f / 60;
|
||||||
if (fNewInterpolation < InterpolationValue) {
|
if (fNewInterpolation < InterpolationValue) {
|
||||||
// new hour
|
// new hour
|
||||||
OldWeatherType = NewWeatherType;
|
OldWeatherType = NewWeatherType;
|
||||||
|
Reference in New Issue
Block a user