]> icculus.org git repositories - divverent/darkplaces.git/commit
rearranged entire SV_Physics process (which may break mods but I hope not!):
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 13 Jan 2005 06:07:23 +0000 (06:07 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 13 Jan 2005 06:07:23 +0000 (06:07 +0000)
commite1b8d7f2f61bee9db0b480fcb1acce51db0c4676
treec6994d3b78efec977381d265fa8391273f1e567b
parent7eff50fbb740729737c85ecfc2c341b754680eeb
rearranged entire SV_Physics process (which may break mods but I hope not!):
each operation (move, prethink, think, postthink) is now a separate stage (as an optimization mainly)
moves are now done before prethinks, thinks, and postthinks so that think-spawned entities do not move on their first frame (this fixes the issue that all projectiles appeared some distance from the player, dependent on server framerate, so rocket trails and other things look correct)
added a relink of any entity that moves for any reason (just an origin compare), not sure if this is a good idea but it is more consistent

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4917 d7cf8633-e32d-0410-b094-e92efae38249
sv_phys.c