Fix sound modifier parameter in SoundAt script function.

The modifier was created but not applied.
shapetextures
Sven Eberhardt 2015-09-03 21:23:47 -04:00
parent 20d3de46cd
commit b74750f1cb
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ static bool FnSoundAt(C4PropList * _this, C4String *szSound, long iX, long iY, N
iX += pObj->GetX();
iY += pObj->GetY();
}
StartSoundEffectAt(FnStringPar(szSound), iX, iY, iLevel, iCustomFalloffDistance, iPitch);
StartSoundEffectAt(FnStringPar(szSound), iX, iY, iLevel, iCustomFalloffDistance, iPitch, modifier);
// always return true (network safety!)
return true;
}