[odamex-bug-reporter] [Bug 788] Assertion error in s_sound.cpp when compiling with VC++ 2010

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Sun, 26 Feb 2012 20:11:41 +0000

http://odamex.net/bugs/show_bug.cgi?id=788

xyltol@xxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xyltol@xxxxxxxxx

--- Comment #1 from xyltol@xxxxxxxxx 2012-02-26 20:11:41 UTC ---
This is a problem in the actual sorting function S_CompareChannels().

I don't know what all this messes with but changing it to:

bool S_CompareChannels(const channel_t &a, const channel_t &b){
    return a.priority < b.priority;
}

fixes this.

Sounds still seem to work perfectly as well.

You can type "snd_channels 0" in console to also fix this, but it disables
sounds!

-- 
Configure bugmail: http://odamex.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Other related posts: