Merge pull request #1524 from acemod/handleFiredCleanup

Removed some dead code
This commit is contained in:
PabstMirror 2015-06-06 23:31:07 -05:00
commit 0f03bef5f1

View File

@ -21,7 +21,7 @@
*/
#include "script_component.hpp"
private ["_shooterMan", "_bisAirFriction", "_temperature", "_newMuzzleVelocityCoefficent", "_bulletVelocity", "_bulletSpeed", "_muzzleVelocity", "_muzzleVelocityShift"];
private ["_shooterMan", "_bisAirFriction", "_temperature", "_newMuzzleVelocityCoefficent", "_bulletVelocity", "_bulletSpeed"];
disableSerialization;
@ -57,7 +57,6 @@ if (_newMuzzleVelocityCoefficent != 1) then {
_bulletSpeed = vectorMagnitude _bulletVelocity;
_bulletVelocity = (vectorNormalized _bulletVelocity) vectorMultiply (_bulletSpeed * _newMuzzleVelocityCoefficent);
_projectile setVelocity _bulletVelocity;
_muzzleVelocity = _muzzleVelocity + _muzzleVelocityShift;
};