properly initialize loops to 0 in eventplayer

This commit is contained in:
Juan Linietsky 2016-06-20 14:46:17 -03:00
parent 8f7a1367fe
commit 93441d6119

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;