MUTATOR_HOOKFUNCTION(nt_FilterItem)
{
if(nt_IsNewToy(self.weapon))
- self.item_pickupsound = "weapons/weaponpickup_new_toys.wav";
+ self.item_pickupsound = W_Sound("weaponpickup_new_toys");
return 0;
}
if(time > 1) // game loads at time 1
error("This cannot be added at runtime\n");
- precache_sound("weapons/weaponpickup_new_toys.wav");
+ precache_sound(W_Sound("weaponpickup_new_toys"));
// mark the guns as ok to use by e.g. impulse 99
float i;
MUTATOR_ONREMOVE
{
- print("This cannot be removed at runtime\n");
+ LOG_INFO("This cannot be removed at runtime\n");
return -1;
}