- comment cleanup

This commit is contained in:
Christoph Oelckers 2022-09-08 16:54:34 +02:00
parent f47540dd3f
commit f683f89580
3 changed files with 1 additions and 8 deletions

View file

@ -179,7 +179,7 @@ enum
constexpr double CIRCLE_CAMERA_DIST_MINF = 12000. / 65536.; constexpr double CIRCLE_CAMERA_DIST_MINF = 12000. / 65536.;
inline int32_t FIXED(int32_t msw, int32_t lsw) constexpr int32_t FIXED(int32_t msw, int32_t lsw)
{ {
return IntToFixed(msw) | lsw; return IntToFixed(msw) | lsw;
} }

View file

@ -146,10 +146,6 @@ int MultiClipTurn(PLAYER* pp, DAngle new_ang, double zz, double floordist)
if (coll.type != kHitNone) if (coll.type != kHitNone)
{ {
// attempt to move a bit when turning against a wall
//ang = NORM_ANGLE(ang + 1024);
//pp->xvect += 20 * bcos(ang);
//pp->yvect += 20 * bsin(ang);
return false; return false;
} }
} }

View file

@ -415,9 +415,6 @@ void MorphFloor(SECTOR_OBJECT* sop)
// back it up and save it off // back it up and save it off
mpos = pos + sop->morph_ang.ToVector() * sop->morph_speed; mpos = pos + sop->morph_ang.ToVector() * sop->morph_speed;
sop->morph_off = sop->pmid - mpos; sop->morph_off = sop->pmid - mpos;
// turn it all the way around and then do a random -512 to 512 from there
//sop->morph_ang = NORM_ANGLE(sop->morph_ang + 1024 + (RANDOM_P2(1024) - 512));
} }
if ((RANDOM_P2(1024<<4)>>4) < sop->morph_rand_freq) if ((RANDOM_P2(1024<<4)>>4) < sop->morph_rand_freq)