From 7a1131be0d20b5c02177d02a9402a953acccd6ea Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Sat, 3 Oct 2009 11:43:07 +0000 Subject: * turrets were using the wrong buildable attribute for trajectory type in last rev --- src/game/g_physics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/g_physics.c b/src/game/g_physics.c index 57635199..cecd9cb3 100644 --- a/src/game/g_physics.c +++ b/src/game/g_physics.c @@ -94,9 +94,9 @@ void G_Physics( gentity_t *ent, int msec ) { if( ent->s.eType == ET_BUILDABLE ) { - if( ent->s.pos.trType != BG_Buildable( ent->s.modelindex )->turretProjType ) + if( ent->s.pos.trType != BG_Buildable( ent->s.modelindex )->traj ) { - ent->s.pos.trType = BG_Buildable( ent->s.modelindex )->turretProjType; + ent->s.pos.trType = BG_Buildable( ent->s.modelindex )->traj; ent->s.pos.trTime = level.time; } } -- cgit