diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2011-08-07 22:56:21 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:12 +0000 |
commit | f8bd44281b3369f667923305768ac7424a960eed (patch) | |
tree | 7082068f558cda75428d6db9bacbcee11fd253b9 /src/game/g_active.c | |
parent | 463ba1cf2b8a458d946bc853038728b12543a09a (diff) |
* (bug 5039) Fix buildables to initialize with the correct normal vector, which should improve falsely self-destructing eggs (/dev/humancontroller)
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index 58034a46..87cb7e94 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -634,10 +634,10 @@ void ClientTimerActions( gentity_t *ent, int msec ) if( ( client->ps.stats[ STAT_BUILDABLE ] & ~SB_VALID_TOGGLEBIT ) > BA_NONE ) { int dist = BG_Class( ent->client->ps.stats[ STAT_CLASS ] )->buildDist; - vec3_t dummy; + vec3_t dummy, dummy2; if( G_CanBuild( ent, client->ps.stats[ STAT_BUILDABLE ] & ~SB_VALID_TOGGLEBIT, - dist, dummy ) == IBE_NONE ) + dist, dummy, dummy2 ) == IBE_NONE ) client->ps.stats[ STAT_BUILDABLE ] |= SB_VALID_TOGGLEBIT; else client->ps.stats[ STAT_BUILDABLE ] &= ~SB_VALID_TOGGLEBIT; |