mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- Fixed: QuakeEx ACS function didn't handle fixed->double conversion.
This commit is contained in:
parent
b958e930cf
commit
e29b8b2094
1 changed files with 4 additions and 4 deletions
|
@ -5700,10 +5700,10 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
|
|||
case ACSF_QuakeEx:
|
||||
{
|
||||
return P_StartQuakeXYZ(activator, args[0], args[1], args[2], args[3], args[4], args[5], args[6], FBehavior::StaticLookupString(args[7]),
|
||||
argCount > 8 && args[8] ? args[8] : 0,
|
||||
argCount > 9 && args[9] ? args[9] : 1,
|
||||
argCount > 10 && args[10] ? args[10] : 1,
|
||||
argCount > 11 && args[11] ? args[11] : 1 );
|
||||
argCount > 8 ? args[8] : 0,
|
||||
argCount > 9 ? FIXED2DBL(args[9]) : 1.0,
|
||||
argCount > 10 ? FIXED2DBL(args[10]) : 1.0,
|
||||
argCount > 11 ? FIXED2DBL(args[11]) : 1.0 );
|
||||
}
|
||||
|
||||
case ACSF_SetLineActivation:
|
||||
|
|
Loading…
Reference in a new issue