some diff cleanups: use cl.viewentity instead of cl.playernum + 1 and some

white space
This commit is contained in:
Bill Currie 2001-05-15 19:38:01 +00:00
parent 63a4cc271f
commit e07f91155b
2 changed files with 2 additions and 3 deletions

View file

@ -372,7 +372,7 @@ CL_UpdateBeams (void)
continue;
// if coming from the player, update the start position
if (b->entity == cl.playernum + 1) { // entity 0 is the world
if (b->entity == cl.viewentity) {
VectorCopy (cl.simorg, b->start);
}
// calculate pitch and yaw

View file

@ -168,8 +168,7 @@ R_SplitEntityOnNode2 (mnode_t *node)
if (node->contents < 0) {
if (node->contents != CONTENTS_SOLID)
r_pefragtopnode = node; // we've reached a non-solid leaf, so
// it's
// visible and not BSP clipped
// it's visible and not BSP clipped
return;
}