diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 13:05:07 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:27 +0000 |
commit | 95b2814fcfb73daf221fe95e59787ba061b7f349 (patch) | |
tree | a534105a987f082af8ac89e57b49ae212137e877 /src/game | |
parent | 3fcb1c09898094cd3ecb555ad3ba913065d0fd17 (diff) |
Fix the turret bug for teslas too
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_buildable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 38cb5057..f72b9b07 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -2444,7 +2444,7 @@ void HTeslaGen_Think( gentity_t *self ) return; } - if( self->spawned && self->count < level.time ) + if( self->spawned && self->timestamp < level.time ) { vec3_t range, mins, maxs; int entityList[ MAX_GENTITIES ], i, num; @@ -2476,7 +2476,7 @@ void HTeslaGen_Think( gentity_t *self ) //doesn't really need an anim //G_SetBuildableAnim( self, BANIM_ATTACK1, qfalse ); - self->count = level.time + TESLAGEN_REPEAT; + self->timestamp = level.time + TESLAGEN_REPEAT; } } } |