Fix cutscenes sychronisation, fixes #3213

This commit is contained in:
auria.mg 2018-04-21 19:12:25 -04:00
parent edb3cc4f0b
commit cbfcc55ebc

View File

@ -234,9 +234,8 @@ void CutsceneWorld::update(int ticks)
double prev_time = m_time;
double now = StkTime::getRealTime();
m_time = now - m_time_at_second_reset;
ticks = stk_config->time2Ticks(float(m_time - prev_time));
}
float fade = 0.0f;
float fadeIn = -1.0f;
float fadeOut = -1.0f;