summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-11-18 19:00:38 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-11-18 19:00:38 -0300
commit7f5eb40c19c7088d2a75f6424e24ac311218f02c (patch)
tree96ea15ae0bdf3361777b73ad4e795a28b4747677
parent8bbde9e6cc2b782f11abf54be7e597c4d03de5ef (diff)
parent6bcc2e1f835c5e4f1c788f026e870019a4defff6 (diff)
Merge pull request #2726 from SaracenOne/set_loop_restart_time_fix
Fixed broken set_loop_restart_time method in AudioStreamPlaybackOGGVorbis
-rw-r--r--drivers/vorbis/audio_stream_ogg_vorbis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vorbis/audio_stream_ogg_vorbis.h b/drivers/vorbis/audio_stream_ogg_vorbis.h
index 827d8b0be3..5dbada962a 100644
--- a/drivers/vorbis/audio_stream_ogg_vorbis.h
+++ b/drivers/vorbis/audio_stream_ogg_vorbis.h
@@ -85,7 +85,7 @@ public:
virtual void stop();
virtual bool is_playing() const;
- virtual void set_loop_restart_time(float p_time) { loop_restart_time=0; }
+ virtual void set_loop_restart_time(float p_time) { loop_restart_time=p_time; }
virtual void set_paused(bool p_paused);
virtual bool is_paused(bool p_paused) const;