summaryrefslogtreecommitdiff
path: root/drivers/chibi
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-20 14:46:17 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-20 14:46:17 -0300
commit93441d6119e801fe3b949c96a6c845e982462bd0 (patch)
tree6991133a1bd74c051ac514aace932ac410013d13 /drivers/chibi
parent8f7a1367fe9bc15314aedf7fed3b66e31242706f (diff)
properly initialize loops to 0 in eventplayer
Diffstat (limited to 'drivers/chibi')
-rw-r--r--drivers/chibi/event_stream_chibi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/chibi/event_stream_chibi.cpp b/drivers/chibi/event_stream_chibi.cpp
index c48125351a..b88f4ee70e 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;