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
parent c783b9dce9
commit 619f44decd
1 changed files with 1 additions and 2 deletions

View File

@ -415,8 +415,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;
}