jdolan / quetoo

Quetoo ("Q2") is a free first person shooter based on id Tech2. GPL v2 license.

Home Page:http://quetoo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Player sounds stop playing back after a Com_Error

jdolan opened this issue · comments

In debugging other issues, I noticed that if a Com_Error / ERR_DROP is thrown, player sounds (and only player sounds) stop working. This is probably a media dependency issue, where maybe the backing OpenAL buffer is freed inadvertently or something.

To reproduce, set a breakpoint somewhere (for me, this was in G_Damage, but it probably doesn't matter at all). Allow the breakpoint to reach, and then sit on it for 30 seconds or more. Step over the breakpoint, and the client will timeout (assuming you've waited enough time). Notice that player sounds are silent. Reloading the current map does not fix them, but s_restart does.

Can't repro. There's probably something additional going on here.