+#include "voicescript.qh"
#ifdef SVQC
.entity voicescript; // attached voice script
.float voicescript_index; // index of next voice, or -1 to use the randomized ones
void target_voicescript_clear(entity pl)
{
- pl.voicescript = world;
+ pl.voicescript = NULL;
}
void target_voicescript_use(entity this, entity actor, entity trigger)
return;
if (!IS_PLAYER(pl))
return;
- if(gameover)
+ if(game_stopped)
return;
if(time >= pl.voicescript_voiceend)
}
else
{
- pl.voicescript = world; // stop trying then
+ pl.voicescript = NULL; // stop trying then
}
}
}