[quake3-commits] r2056 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jun 24 09:15:03 EDT 2011


Author: thilo
Date: 2011-06-24 09:15:03 -0400 (Fri, 24 Jun 2011)
New Revision: 2056

Modified:
   trunk/code/game/g_missile.c
Log:
Fix grenade rotation ends always the orientation (#5053), patch by Eugene C.


Modified: trunk/code/game/g_missile.c
===================================================================
--- trunk/code/game/g_missile.c	2011-06-24 13:10:45 UTC (rev 2055)
+++ trunk/code/game/g_missile.c	2011-06-24 13:15:03 UTC (rev 2056)
@@ -46,6 +46,7 @@
 		// check for stop
 		if ( trace->plane.normal[2] > 0.2 && VectorLength( ent->s.pos.trDelta ) < 40 ) {
 			G_SetOrigin( ent, trace->endpos );
+			ent->s.time = level.time / 4;
 			return;
 		}
 	}



More information about the quake3-commits mailing list