Fixed a missing parameter in S_Sound's ZScript prototype that was causing assertion failures.

This commit is contained in:
Chronos Ouroboros 2021-01-17 21:56:18 -03:00 committed by drfrag
parent 87adc72e4b
commit 10fbbea47e

View file

@ -304,8 +304,7 @@ DEFINE_ACTION_FUNCTION(DObject, S_Sound)
PARAM_FLOAT(volume);
PARAM_FLOAT(attn);
PARAM_FLOAT(pitch);
PARAM_FLOAT(startTime);
S_SoundPitch(channel & 7, EChanFlags::FromInt(channel & ~7), id, static_cast<float>(volume), static_cast<float>(attn), static_cast<float>(pitch), static_cast<float>(startTime));
S_SoundPitch(channel & 7, EChanFlags::FromInt(channel & ~7), id, static_cast<float>(volume), static_cast<float>(attn), static_cast<float>(pitch), 0.0f);
return 0;
}