No need to start non looping samples automatically when getting in-range.

This commit is contained in:
Erik Hofman 2011-12-13 11:40:08 +01:00
parent b57b223a59
commit a92ea7f822

View File

@ -158,7 +158,7 @@ public:
* Schedule this audio sample to stop (or start) playing.
*/
inline void set_out_of_range(bool oor = true) {
_out_of_range = oor; _playing = oor ? false : true; _changed = true;
_out_of_range = oor; _playing = (!oor && _loop); _changed = true;
}
/**