- added latest SBARINFO patch.

SVN r946 (trunk)
This commit is contained in:
Christoph Oelckers 2008-04-27 07:06:26 +00:00
parent 0bb92662d3
commit 60b236fdc5
1 changed files with 2 additions and 2 deletions

View File

@ -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);