Skip to content

Commit

Permalink
Tweak particle Z floor height
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 26, 2004
1 parent 0610aeb commit a2a82d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doomsday/Src/p_particle.c
Expand Up @@ -747,8 +747,10 @@ fixed_t P_GetParticleZ(particle_t * pt)
{
if(pt->pos[VZ] == DDMAXINT)
return pt->sector->ceilingheight - 2 * FRACUNIT;

if(pt->pos[VZ] == DDMININT)
return pt->sector->floorheight + 2 * FRACUNIT;
return FRACUNIT * (SECT_INFO(pt->sector)->visfloor + 2);

return pt->pos[VZ];
}

Expand Down

0 comments on commit a2a82d1

Please sign in to comment.