]> icculus.org git repositories - divverent/darkplaces.git/commit
Fix a possible crash when an invalid skinframe gets accessed after cl.time steps...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 24 Sep 2010 21:37:43 +0000 (21:37 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 24 Sep 2010 21:37:43 +0000 (21:37 +0000)
commite63a0114bbd617c020c6217f5e1fe1145b1d2c78
tree4aef0422fad2e0cbbdbab00dfc0ab98584c1e69c
parent1ae269e1612265dc7c54fbccdb1ca0f285752b79
Fix a possible crash when an invalid skinframe gets accessed after cl.time steps backwards (e.g. due to time syncing) right after an entity has been created. Might fix the steel storm crash, but certainly IS a segfault on unstable network connection. Note that a%b can be negative for a<0, b>0 (unlike mathematical 'mod' operation, C '%' is based on rounding towards zero)

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