aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/snd_openal.c
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-02-07 18:36:17 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-02-07 18:36:17 +0000
commitf9576f4a1ecdf6dd7c31c91327bb34994d5feb3b (patch)
tree13c1c6ae7a0405f4be234b400bf1edd31b0d3bf8 /code/client/snd_openal.c
parentede336a12024481d854530bbadf75cab3a00c7f8 (diff)
downloadioquake3-aero-f9576f4a1ecdf6dd7c31c91327bb34994d5feb3b.tar.gz
ioquake3-aero-f9576f4a1ecdf6dd7c31c91327bb34994d5feb3b.zip
* Removed (unintentional) C99 code
git-svn-id: svn://svn.icculus.org/quake3/trunk@536 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/snd_openal.c')
-rw-r--r--code/client/snd_openal.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c
index a557244..0bbf07b 100644
--- a/code/client/snd_openal.c
+++ b/code/client/snd_openal.c
@@ -1460,18 +1460,6 @@ S_AL_Respatialize
static
void S_AL_Respatialize( int entityNum, const vec3_t origin, vec3_t axis[3], int inwater )
{
-// this piece of code causes an compiler error on msvc (MSDN 58559)
-#ifndef _MSC_VER
- S_AL_SanitiseVector( (vec_t *)origin );
- S_AL_SanitiseVector( axis[ 0 ] );
- S_AL_SanitiseVector( axis[ 1 ] );
- S_AL_SanitiseVector( axis[ 2 ] );
- // Axis[0] = Forward
- // Axis[2] = Up
- float velocity[] = {0.0f, 0.0f, 0.0f};
- float orientation[] = {axis[0][0], axis[0][1], axis[0][2],
- axis[2][0], axis[2][1], axis[2][2]};
-#else
float velocity[3] = {0.0f, 0.0f, 0.0f};
float orientation[6];
@@ -1482,7 +1470,6 @@ void S_AL_Respatialize( int entityNum, const vec3_t origin, vec3_t axis[3], int
orientation[0] = axis[0][0]; orientation[1] = axis[0][1]; orientation[2] = axis[0][2];
orientation[3] = axis[2][0]; orientation[4] = axis[2][1]; orientation[5] = axis[2][2];
-#endif
VectorCopy( origin, lastListenerOrigin );