From bb2ccb14820593485ee4c791079cc767b454241b Mon Sep 17 00:00:00 2001 From: driAn Date: Fri, 11 Apr 2008 22:03:13 +0000 Subject: [PATCH] removed doppler effect git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1782 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/sound.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/src/sound.cpp b/source/src/sound.cpp index 1b11a094..3fc664b9 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -411,7 +411,6 @@ struct location else // set correct distance { alSourcefv(dat, AL_POSITION, (ALfloat *) &p->o); - alSourcefv(dat, AL_VELOCITY, (ALfloat *) &p->vel); } } else if(e) // entities @@ -621,7 +620,6 @@ void updatevol() { vec pos(player1->o.x, player1->o.y, player1->o.z+player1->eyeheight); alListenerfv(AL_POSITION, (ALfloat *) &pos); - alListenerfv(AL_VELOCITY, (ALfloat *) &player1->vel); alListenerf(AL_GAIN, soundvol/255.0f); // orientation