mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- comment cleanup
This commit is contained in:
parent
f47540dd3f
commit
f683f89580
3 changed files with 1 additions and 8 deletions
|
@ -179,7 +179,7 @@ enum
|
|||
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -146,10 +146,6 @@ int MultiClipTurn(PLAYER* pp, DAngle new_ang, double zz, double floordist)
|
|||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -415,9 +415,6 @@ void MorphFloor(SECTOR_OBJECT* sop)
|
|||
// back it up and save it off
|
||||
mpos = pos + sop->morph_ang.ToVector() * sop->morph_speed;
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue