properly initialize loops to 0 in eventplayer
(cherry picked from commit 93441d6119
)
This commit is contained in:
parent
7076e98f40
commit
8c5577e9e4
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue