Fixed usage of various entity defines.
This commit is contained in:
parent
4e59ef714b
commit
0724458818
4 changed files with 6 additions and 4 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue