Fix crash. Reason was obsolete code.

git-svn-id: https://svn.eduke32.com/eduke32@1720 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2010-10-29 12:51:10 +00:00
parent f1caa980d0
commit 998bdb3a8b

View file

@ -9542,7 +9542,7 @@ int32_t clipmove(vec3_t *vect, int16_t *sectnum,
{
daz = getceilzofslope((int16_t)dasect,dax,day);
daz2 = getceilzofslope(wal->nextsector,dax,day);
basez = getceilzofslope(clipsectorlist[clipsectnum-1],dax,day);
basez = getceilzofslope(sectq[clipinfo[curidx].qend],dax,day);
if ((sec2->ceilingstat&1) == 0)
// if (dasect==sectq[clipinfo[curidx].qend] || daz2 > daz+(1<<8))
if (vect->z >= basez-(ceildist-1))