Hi list!

I followed the tutorial at
http://developer.valvesoftware.com/wiki/Resetting_Maps_and_Entities to do
round restarts. [ This code preserves certain entities, among which
env_soundscape, on restart ]

It specified the use of an event, and clientside, adds this to the handler
of the restart event:

enginesound->StopAllSounds( true );
Soundscape_OnStopAllSounds(); // Tell the soundscape system.

Those lines cause all my soundscapes to die, and they don't play at all
anymore after round restart. If I take them out of the handler, at first
glance it works OK, but I wonder if I'm not introducing any other bugs
that way like permanently looping sounds etc - I'll still remember
as_oilrig's elevator for that when I'm old and dying I think :)

Anyone here hit that particular bump & know the proper way to preserve
soundscapes ?

Thanks,

Maarten


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to