]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Weapon following: Subtract player velocity from gun origin rather than making the...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 May 2010 14:08:23 +0000 (14:08 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 May 2010 14:08:23 +0000 (14:08 +0000)
commita8b88dda9e6e91a74a5cd0eabf8e6deb88de9acd
treef5c265e219b74c24868c2d13686d434db40ec9f0
parenta43bd0a32bbf3c2d04555417a7a46a1fcaa2d714
Weapon following: Subtract player velocity from gun origin rather than making the gun follow the player. Reduces a huge code to a few lines and works much better. How could I not realize this until now? :P

From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10148 d7cf8633-e32d-0410-b094-e92efae38249
darkplaces.txt
view.c