- floatified p_sight.cpp.
This commit is contained in:
parent
5e1c79c050
commit
a99ebc2356
10 changed files with 180 additions and 198 deletions
|
|
@ -1261,7 +1261,8 @@ void S_Sound (const FPolyObj *poly, int channel, FSoundID sound_id, float volume
|
|||
|
||||
void S_Sound(const DVector3 &pos, int channel, FSoundID sound_id, float volume, float attenuation)
|
||||
{
|
||||
S_StartSound (NULL, NULL, NULL, &pos, channel, sound_id, volume, attenuation);
|
||||
FVector3 p((float)pos.X, (float)pos.Y, (float)pos.Z);
|
||||
S_StartSound (NULL, NULL, NULL, &p, channel, sound_id, volume, attenuation);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue