- floatified p_sight.cpp.

This commit is contained in:
Christoph Oelckers 2016-03-28 16:22:21 +02:00
commit a99ebc2356
10 changed files with 180 additions and 198 deletions

View file

@ -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);
}
//==========================================================================