- Fixed: The DECORATE expression evaluator was reading the operator token
from the wrong variable in a few places resulting in incorrect calculations. - Fixed: MP3/OGG music always looped because the looping flag was always set when FMOD was called to play it. - Removed upper limit of 1 for an actor's gravity factor. - Fixed: A_VileTarget spawned the fire at coordinate (target->x, target->x) instead of (target->x, target->y). (Old vanilla bug.) SVN r550 (trunk)
This commit is contained in:
parent
f94d971c06
commit
333ef105f7
5 changed files with 15 additions and 6 deletions
|
|
@ -1647,8 +1647,8 @@ static void ActorGravity (AActor *defaults, Baggage &bag)
|
|||
{
|
||||
SC_MustGetFloat ();
|
||||
|
||||
if (sc_Float < 0.f || sc_Float > 1.f)
|
||||
SC_ScriptError ("Gravity must be in the range [0,1]");
|
||||
if (sc_Float < 0.f)
|
||||
SC_ScriptError ("Gravity must not be negative.");
|
||||
|
||||
defaults->gravity = FLOAT2FIXED (sc_Float);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue