Author: devurandom Date: Fri Dec 26 01:46:18 2008 New Revision: 6498 URL: http://svn.gna.org/viewcvs/warzone?rev=6498&view=rev Log: Use squared radius to test in-sphere for projectile impacts
The attached patch fixes a bug in proj_ImpactFunc whereby it would use the radius cubed as opposed to the radius squared when doing hit-detection. Furthermore it also removes some premature optimisations (hit-box detection). Author: EvilGuru Signed-off-by: Dennis Schridde <devuran...@gna.org> Modified: trunk/src/projectile.c _______________________________________________ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits