diff --git a/panda/src/audiotraits/openalAudioSound.cxx b/panda/src/audiotraits/openalAudioSound.cxx index ff7d187a3d..087686a452 100644 --- a/panda/src/audiotraits/openalAudioSound.cxx +++ b/panda/src/audiotraits/openalAudioSound.cxx @@ -832,6 +832,8 @@ set_active(bool active) { // ...we're pausing a looping sound. _paused=true; } + // Store off the current time so we can resume from where we paused. + _start_time = get_time(); stop(); } }