[quake3-commits] [ioquake/ioq3] 70e3d6: Fix cg.intermissionStarted only being enabled at f...

Zack Middleton zturtleman at gmail.com
Sat Dec 27 19:39:35 EST 2014

  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 70e3d610060cffeeb4a6edbbf7641dd4be61fe31
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2014-12-27 (Sat, 27 Dec 2014)

  Changed paths:
    M code/game/g_main.c

  Log Message:
  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

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.

More information about the quake3-commits mailing list