mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Address review feedback
This commit is contained in:
committed by
Asdow
parent
8b1c4effa0
commit
d4abc82488
@@ -5296,6 +5296,8 @@ INT8 FireBulletGivenTarget( SOLDIERTYPE * pFirer, FLOAT dEndX, FLOAT dEndY, FLOA
|
||||
dDeltaX = dEndX - dStartX;
|
||||
dDeltaY = dEndY - dStartY;
|
||||
dDeltaZ = dEndZ - dStartZ;
|
||||
/* see previous commit for historically interesting comment on the reason Distance2D instead
|
||||
of Distance3D is used here */
|
||||
d2DDistance = Distance2D( dDeltaX, dDeltaY );
|
||||
iDistance = (INT32) d2DDistance;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user