fix crash in labyrint when flute is used

This commit is contained in:
Ondrej Novak 2025-02-16 21:13:36 +01:00
parent a8c9fced4c
commit 232dae6708
3 changed files with 8 additions and 2 deletions

View file

@ -415,7 +415,7 @@ static char sing_song_clk(int id,int xa,int ya,int xr,int yr)
playing=0;
if (standardflute)
{
if (fletna_get_buffer_pos())
if (fletna_can_add_timer())
{
THE_TIMER *t;
if (standardflute)