Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: D:/andre/prg/doom/prboom-plus/prboom-plus/src/r_things.c
- ===================================================================
- --- D:/andre/prg/doom/prboom-plus/prboom-plus/src/r_things.c (revision 4309)
- +++ D:/andre/prg/doom/prboom-plus/prboom-plus/src/r_things.c (working copy)
- @@ -740,8 +740,9 @@
- // killough 4/9/98: clip things which are out of view due to height
- // e6y: fix of hanging decoration disappearing in Batman Doom MAP02
- // centeryfrac -> viewheightfrac
- - if (fz > viewz + FixedDiv(viewheightfrac, xscale) ||
- - gzt < viewz - FixedDiv(viewheightfrac-viewheight, xscale))
- + // [kb] add +1 so sprites are shown even with the extended freelook
- + if (thing->z > viewz + FixedDiv(viewheight << (FRACBITS + 1), xscale) ||
- + gzt < viewz - FixedDiv((viewheight << (FRACBITS + 1)) - viewheight, xscale))
- return;
- // killough 3/27/98: exclude things totally separated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement