Fixed usage of various entity defines.

This commit is contained in:
Zack Middleton 2011-11-05 01:02:35 +00:00
parent 4e59ef714b
commit 0724458818
4 changed files with 6 additions and 4 deletions

View file

@ -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))