Reduce telefrag bounds

This commit is contained in:
smallmodel 2025-01-15 18:42:34 +01:00
parent 1500d213e7
commit 4bec5cef01
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -42,8 +42,8 @@ typedef struct spawnsort_s {
static qboolean SpotWouldTelefrag(float *origin) static qboolean SpotWouldTelefrag(float *origin)
{ {
static Vector mins = Vector(-16, -16, 1); static Vector mins = Vector(-15, -15, 1);
static Vector maxs = Vector(16, 16, 97); static Vector maxs = Vector(15, 15, 96);
trace_t trace; trace_t trace;
trace = G_Trace(Vector(origin), mins, maxs, Vector(origin), NULL, MASK_PLAYERSTART, qfalse, "SpotWouldTelefrag"); trace = G_Trace(Vector(origin), mins, maxs, Vector(origin), NULL, MASK_PLAYERSTART, qfalse, "SpotWouldTelefrag");