Merge /u/dancliff/simgear/ branch fix_sound_on_model_reload into next
https://sourceforge.net/p/flightgear/simgear/merge-requests/57/
This commit is contained in:
commit
523d5166ef
@ -83,6 +83,9 @@ SGXmlSound::~SGXmlSound()
|
|||||||
if (_sample)
|
if (_sample)
|
||||||
_sample->stop();
|
_sample->stop();
|
||||||
|
|
||||||
|
if (_sgrp && (_name != ""))
|
||||||
|
_sgrp->remove(_name);
|
||||||
|
|
||||||
_volume.clear();
|
_volume.clear();
|
||||||
_pitch.clear();
|
_pitch.clear();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user