removed doppler effect

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1782 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-04-11 22:03:13 +00:00
parent 93271bee6a
commit bb2ccb1482
-2
View File
@@ -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