Fixed a bug with entities not getting correctly lit
This commit is contained in:
parent
0947a5cf3b
commit
eb3617da47
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ void R_SplitEntityOnNodePenta (entity_t *ent, mnode_t *node)
|
|||
}
|
||||
|
||||
leaf = (mleaf_t *)node;
|
||||
leafnum = leaf - cl.worldmodel->leafs - 1;
|
||||
leafnum = leaf - cl.worldmodel->leafs;
|
||||
|
||||
ent->leafnums[ent->numleafs] = leafnum;
|
||||
ent->numleafs++;
|
||||
|
|
Loading…
Reference in a new issue