diff options
Diffstat (limited to 'src/game/g_misc.c')
-rw-r--r-- | src/game/g_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_misc.c b/src/game/g_misc.c index 1915921e..8fb70b1b 100644 --- a/src/game/g_misc.c +++ b/src/game/g_misc.c @@ -392,11 +392,11 @@ static void findEmptySpot( vec3_t origin, float radius, vec3_t spot ) VectorAdd( origin, delta, test ); - trap_Trace( &tr, test, NULL, NULL, test, -1, MASK_SOLID ); + trap_Trace( &tr, test, NULL, NULL, test, ENTITYNUM_NONE, MASK_SOLID ); if( !tr.allsolid ) { - trap_Trace( &tr, test, NULL, NULL, origin, -1, MASK_SOLID ); + trap_Trace( &tr, test, NULL, NULL, origin, ENTITYNUM_NONE, MASK_SOLID ); VectorScale( delta, tr.fraction, delta ); VectorAdd( total, delta, total ); } |