properly initialize loops to 0 in eventplayer

(cherry picked from commit 93441d6119)
This commit is contained in:
Juan Linietsky 2016-06-20 14:46:17 -03:00 committed by Rémi Verschelde
parent 7076e98f40
commit 8c5577e9e4
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ void CPFileAccessWrapperImpl::store_dword(uint32_t p_dest){
Error EventStreamPlaybackChibi::_play() { Error EventStreamPlaybackChibi::_play() {
last_order=0; last_order=0;
loops++; loops=0;
player->play_start_song(); player->play_start_song();
total_usec=0; total_usec=0;