diff options
author | Zack Middleton <zturtleman@gmail.com> | 2014-12-27 17:11:12 -0600 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2015-03-17 11:39:03 +0000 |
commit | 0ebc93d56467118f677e3b2ba3516b13ff70351c (patch) | |
tree | d0186996fd7b6e4f5337d547b87750e2feabe2e1 /src/zlib/zlib.h | |
parent | 5443cb7ed3a0d4ebe02f955e33e2eba0385ae305 (diff) |
Fix cg.intermissionStarted only being enabled at first intermission
Game sets CS_INTERMISSION to 1 at intermission, but does not clear it at
map_restart so it's only sent the first time. CG_MapRestart manually clears
cg.intermissionStarted (which is set to value of CS_INTERMISSION when it's
modified). So subsequent intermissions do not have cg.intermissionStarted
enabled.
Now CS_INTERMISSION is cleared and sent each time intermission is started
and cg.intermissionStarted is enabled each time.
This makes subsequent intermissions not play sounds in CG_CheckLocalSounds
during the 1 second between intermission starting and switching to scoreboard
(PM_INTERMISSION) and makes Team Arena voice chats not play.
Diffstat (limited to 'src/zlib/zlib.h')
0 files changed, 0 insertions, 0 deletions