No need to start non looping samples automatically when getting in-range.
This commit is contained in:
parent
b57b223a59
commit
a92ea7f822
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user