Disable EFX debug

This commit is contained in:
NepDisk 2026-03-22 15:06:25 -04:00
parent 3b7939347c
commit 057b46010f
2 changed files with 4 additions and 2 deletions

View file

@ -3234,7 +3234,7 @@ void A_AttractChase(void *thing)
actor->target->player->ringboost += K_GetKartRingPower(actor->target->player, true);
actor->target->player->ringtime += K_GetKartRingPower(actor->target->player, true);
#define EFXTEST
//#define EFXTEST
#ifdef EFXTEST
efx_t efx;
S_InitEFXArray(&efx);

View file

@ -895,11 +895,13 @@ notinlevel:
if (!I_SoundIsPlaying(c->handle))
{
c->endtime += 1;
if (c->efx == NULL || c->endtime > c->efxtail + c->duration)
{
CONS_Printf("endtime: %f efxtail: %f duration: %f \n", c->endtime, c->efxtail, c->duration);
//CONS_Printf("endtime: %f efxtail: %f duration: %f \n", c->endtime, c->efxtail, c->duration);
S_StopChannel(cnum);
}
continue;
}
else