diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-13 19:54:47 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:14 +0100 |
commit | a9b6624cdb68e50df0034f0ade1eef99fc0dd3b6 (patch) | |
tree | baea8f132706c11987e115cb31cfe0325072d8e9 /src/game | |
parent | c376d8ce3a59cfd6422130da52dc02848ce33818 (diff) |
fix a building self-explosion epsilon issue
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_buildable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 9e122bdc..e0ca2162 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -82,7 +82,7 @@ gentity_t *G_CheckSpawnPoint( int spawnNum, const vec3_t origin, VectorSet( cmins, -MAX_ALIEN_BBOX, -MAX_ALIEN_BBOX, -MAX_ALIEN_BBOX ); VectorSet( cmaxs, MAX_ALIEN_BBOX, MAX_ALIEN_BBOX, MAX_ALIEN_BBOX ); - displacement = ( maxs[ 2 ] + MAX_ALIEN_BBOX ) * M_ROOT3; + displacement = ( maxs[ 2 ] + MAX_ALIEN_BBOX ) * M_ROOT3 + 1.0f; VectorMA( origin, displacement, normal, localOrigin ); } else if( spawn == BA_H_SPAWN ) |