- 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
|
|
@ -563,7 +563,7 @@ static ExpData *ParseExpressionF (const PClass *cls)
|
|||
int token = sc_TokenType;
|
||||
ExpData *right = ParseExpressionE (cls);
|
||||
ExpData *data = new ExpData;
|
||||
data->Type = token == '<' ? EX_LT : sc_TokenType == '>' ? EX_GT : sc_TokenType == TK_Leq? EX_LE : EX_GE;
|
||||
data->Type = token == '<' ? EX_LT : token == '>' ? EX_GT : token == TK_Leq? EX_LE : EX_GE;
|
||||
data->Children[0] = tmp;
|
||||
data->Children[1] = right;
|
||||
data->EvalConst (cls);
|
||||
|
|
@ -620,7 +620,7 @@ static ExpData *ParseExpressionC (const PClass *cls)
|
|||
int token = sc_TokenType;
|
||||
ExpData *right = ParseExpressionB (cls);
|
||||
ExpData *data = new ExpData;
|
||||
data->Type = token == '*'? EX_Mul : sc_TokenType == '/'? EX_Div : EX_Mod;
|
||||
data->Type = token == '*'? EX_Mul : token == '/'? EX_Div : EX_Mod;
|
||||
data->Children[0] = tmp;
|
||||
data->Children[1] = right;
|
||||
data->EvalConst (cls);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue