summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2009-10-03 11:43:07 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:16 +0000
commit7a1131be0d20b5c02177d02a9402a953acccd6ea (patch)
tree5aff105ab0bf47b41d0732cd16e93bb19d47237e /src
parent50d9e8eab7934e0b76c04ef4a300f0fe93d4f7f5 (diff)
* turrets were using the wrong buildable attribute for trajectory type in last rev
Diffstat (limited to 'src')
-rw-r--r--src/game/g_physics.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}