Some misc fixes, mostly win32/msvc focused.

Rename sound flags to include their valid scope.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5322 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-10-17 00:43:04 +00:00
parent 487201eeec
commit 4ae635bc7b
24 changed files with 188 additions and 102 deletions

View file

@ -684,7 +684,7 @@ static void OpenAL_ChannelUpdate(soundcardinfo_t *sc, channel_t *chan, unsigned
}
cvolume = chan->master_vol/255.0f;
if (!(chan->flags & CF_ABSVOLUME))
if (!(chan->flags & CF_CL_ABSVOLUME))
cvolume *= volume.value*voicevolumemod;
//openal doesn't support loopstart (entire sample loops or not at all), so if we're meant to skip the first half then we need to stream it.