From 8c5577e9e4d560a308784162073cf6287bccefe7 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 20 Jun 2016 14:46:17 -0300 Subject: [PATCH] properly initialize loops to 0 in eventplayer (cherry picked from commit 93441d6119e801fe3b949c96a6c845e982462bd0) --- drivers/chibi/event_stream_chibi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/chibi/event_stream_chibi.cpp b/drivers/chibi/event_stream_chibi.cpp index c48125351aa..b88f4ee70e8 100644 --- a/drivers/chibi/event_stream_chibi.cpp +++ b/drivers/chibi/event_stream_chibi.cpp @@ -616,7 +616,7 @@ void CPFileAccessWrapperImpl::store_dword(uint32_t p_dest){ Error EventStreamPlaybackChibi::_play() { last_order=0; - loops++; + loops=0; player->play_start_song(); total_usec=0;