Skip to content

Commit

Permalink
Fixed problem of not being able to hit the lower section of twosided …
Browse files Browse the repository at this point in the history
…linedefs if the ceiling in either the front or back sector is sky.
  • Loading branch information
danij committed Oct 26, 2008
1 parent 9ef057d commit feb141e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/plugins/common/src/p_map.c
Expand Up @@ -1531,12 +1531,12 @@ boolean PTR_ShootTraverse(intercept_t* in)
skyCeil = P_GetIntp(frontSec, DMU_CEILING_MATERIAL) ==
SKYMASKMATERIAL;
fCeil = P_GetFloatp(frontSec, DMU_CEILING_HEIGHT);
bCeil = P_GetFloatp(frontSec, DMU_CEILING_HEIGHT);
bCeil = P_GetFloatp(backSec, DMU_CEILING_HEIGHT);

if(skyCeil && (pos[VZ] > fCeil || pos[VZ] > bCeil))
return false;

skyFloor = P_GetIntp(backSec, DMU_CEILING_MATERIAL) ==
skyFloor = P_GetIntp(backSec, DMU_FLOOR_MATERIAL) ==
SKYMASKMATERIAL;
fFloor = P_GetFloatp(frontSec, DMU_FLOOR_HEIGHT);
bFloor = P_GetFloatp(backSec, DMU_FLOOR_HEIGHT);
Expand Down

0 comments on commit feb141e

Please sign in to comment.