X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fsound%2Fsample_openal.hxx;h=9e816c21aaf9aed5316003e9f590135829258a3c;hb=be7065674586ffbb5940ab21a028bc8c461217e2;hp=b2afba4f33fd1da89f138e491b038e115d0625dc;hpb=26fdfc42f4820edaf05b50a8b2e85b15ec66b07a;p=simgear.git diff --git a/simgear/sound/sample_openal.hxx b/simgear/sound/sample_openal.hxx index b2afba4f..9e816c21 100644 --- a/simgear/sound/sample_openal.hxx +++ b/simgear/sound/sample_openal.hxx @@ -82,7 +82,7 @@ public: /** * Destructor */ - ~SGSoundSample (); + virtual ~SGSoundSample (); /** * Detect wheter this audio sample holds the information of a sound file. @@ -118,7 +118,7 @@ public: * @param _loop Define whether this sound should be played in a loop. */ void play( bool loop = false ) { - _playing = true; _loop = loop; _changed = true; + _playing = true; _loop = loop; _changed = true; _static_changed = true; } /**