if(!pushdeltatime) return;
// div0: ticrate independent, 1 = identity (not 20)
- toucher.velocity = toucher.velocity * pow(this.strength, pushdeltatime);
+ toucher.velocity = toucher.velocity * (this.strength ** pushdeltatime);
#ifdef SVQC
UpdateCSQCProjectile(toucher);
else
{
if(!this.strength) this.strength = 0.9;
- this.strength = pow(this.strength, autocvar_g_triggerimpulse_accel_power) * autocvar_g_triggerimpulse_accel_multiplier;
+ this.strength = (this.strength ** autocvar_g_triggerimpulse_accel_power) * autocvar_g_triggerimpulse_accel_multiplier;
settouch(this, trigger_impulse_touch2);
}
}