Disable EFX debug
This commit is contained in:
parent
3b7939347c
commit
057b46010f
2 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue