diff options
| author | zakk <zakk@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-16 13:10:46 +0000 |
|---|---|---|
| committer | zakk <zakk@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-16 13:10:46 +0000 |
| commit | 7399116c4d415084c3db8f6bfdef49ef0e346741 (patch) | |
| tree | e23a56660b82aa7341ad1e576e0100a9cee554cc /Source/Person.cpp | |
| parent | 34e9f51b0436912af623c210da20198638fa0e62 (diff) | |
| download | blackshades-7399116c4d415084c3db8f6bfdef49ef0e346741.tar.gz | |
debian is still for screws.
git-svn-id: svn://svn.icculus.org/blackshades/trunk@82 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/Person.cpp')
| -rw-r--r-- | Source/Person.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Person.cpp b/Source/Person.cpp index 79f4109..43aa873 100644 --- a/Source/Person.cpp +++ b/Source/Person.cpp @@ -526,7 +526,12 @@ void Person::DoAnimations(int who){ gLoc[0]=playercoords.x/soundscalefactor; gLoc[1]=playercoords.y/soundscalefactor; gLoc[2]=playercoords.z/soundscalefactor; +#ifdef DEBIAN_NEEDS_TO_UPDATE_THEIR_OPENAL + alGetSourceiv(gSourceID[reloadsound], AL_SOURCE_STATE, &tempint); +#else alGetSourcei(gSourceID[reloadsound], AL_SOURCE_STATE, &tempint); +#endif + if (tempint != AL_PLAYING){ alSourcefv(gSourceID[reloadsound], AL_POSITION, gLoc); alSourcePlay(gSourceID[reloadsound]); |
