mirror of https://github.com/ZDoom/gzdoom-gles.git
parent
0bb92662d3
commit
60b236fdc5
|
@ -348,10 +348,10 @@ void SBarInfo::ParseSBarInfo(int lump)
|
|||
popup.transition = TRANSITION_FADE;
|
||||
sc.MustGetToken(',');
|
||||
sc.MustGetToken(TK_FloatConst);
|
||||
popup.speed = fixed_t(FRACUNIT * sc.Float);
|
||||
popup.speed = fixed_t(FRACUNIT * (1.0 / (35.0 * sc.Float)));
|
||||
sc.MustGetToken(',');
|
||||
sc.MustGetToken(TK_FloatConst);
|
||||
popup.speed2 = fixed_t(FRACUNIT * sc.Float);
|
||||
popup.speed2 = fixed_t(FRACUNIT * (1.0 / (35.0 * sc.Float)));
|
||||
}
|
||||
else
|
||||
sc.ScriptError("Unkown transition type: '%s'", sc.String);
|
||||
|
|
Loading…
Reference in New Issue