forked from Mirrors/openclonk
Fix sound modifier parameter in SoundAt script function.
The modifier was created but not applied.shapetextures
parent
20d3de46cd
commit
b74750f1cb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue