Fixed usage of various entity defines.
This commit is contained in:
1 parent
4e59ef714b
commit
0724458818
4 files changed
+6
-4
No files matched your search
@@ -1703,7 +1703,7 @@ qboolean ValidBloodPool (vec3_t start)
|
||||
CG_Trace (&trace, this_pos, NULL, NULL, end_pos, -1, CONTENTS_SOLID);
|
||||
|
||||
|
||||
if (trace.entityNum < (MAX_ENTITIES - 1)) // may only land on world
|
||||
if (trace.entityNum < ENTITYNUM_WORLD) // may only land on world
|
||||
return qfalse;
|
||||
|
||||
if (!(!trace.startsolid && trace.fraction < 1))
|
||||
|
||||
Reference in new issue
Block a user