]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
vid: move sound start/restart out of video start/restart
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 7 Oct 2023 03:40:26 +0000 (13:40 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 8 Nov 2023 17:27:06 +0000 (03:27 +1000)
commitaba8f3439c072d627041e57ab96e4e88d877774c
treeee6b80354721334f1c501f6b812932f1b902c447
parent83c1da9c25329f63b7667bbce062692ef7c75668
vid: move sound start/restart out of video start/restart

According to the comments in S_Restart_f() we must not restart sound
while running a map, but `vid_restart` did do that...

Also simplified/consolidated code paths a little.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cl_main.c
host.c
snd_main.c
vid_shared.c