Talk:Ambient generic: stop and toggle fix: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Ambient generic: stop and toggle fix. Where is the file that is updated with this fix?)
 
No edit summary
Line 12: Line 12:
PS
PS
Why hasn't this code been added into updates on counterstrike if it's a known bug and has a simple fix like this?
Why hasn't this code been added into updates on counterstrike if it's a known bug and has a simple fix like this?
: Search Class View for CAmbientGeneric. --[[user:TomEdwards|TomEdwards]] 12:22, 25 February 2010 (UTC)

Revision as of 05:22, 25 February 2010

Ambient generic: stop and toggle fix From Valve Developer Community Jump to: navigation, search Insert code in red into CAmbientGeneric::SendSound to overcome "unstoppable sound" issues:

Can someone please tell me where this elusive "CAmbientGeneric" file is that I am supposed to insert this updated c++ code into?

It would be nice to be able to have custom looping sounds in my map, as well as sounds that can be toggled, like on a radio that could play two songs.

Thanks in advance.

PS Why hasn't this code been added into updates on counterstrike if it's a known bug and has a simple fix like this?

Search Class View for CAmbientGeneric. --TomEdwards 12:22, 25 February 2010 (UTC)