Fixed typo in RadiusDamage (reported by apophis)

This commit is contained in:
Pavol Marko 2004-10-30 13:40:23 +00:00
parent ec02883f6e
commit bc2386fe47

View File

@ -259,7 +259,7 @@ stock get_user_velocity(entity, Float:vec[3])
/* Backwards compatible */
/* Hurts/Kills players in a sphere, like an explosion, Multiplier determines damage. */
stock RadiusDamage(Float:fExplodeAt[3], iDamageMultiplier, iRadiusMultiplier) {
return radius_damage(fExplodeAt[3], iDamageMultiplier, iRadiusMultiplier)
return radius_damage(fExplodeAt, iDamageMultiplier, iRadiusMultiplier)
}
/* Gives you a velocity in the direction a player is looking, iVelocity is the multiplier. */
stock VelocityByAim(iIndex,iVelocity, Float:vRetValue[3]) {