mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
Update g_demo.c, Remove old comments of fractional loss of one byte
This commit is contained in:
parent
1447aba964
commit
b261e17fdd
1 changed files with 0 additions and 5 deletions
|
@ -345,7 +345,6 @@ void G_WriteGhostTic(mobj_t *ghost)
|
|||
else
|
||||
{
|
||||
// For moving normally:
|
||||
// Store one full byte of movement, plus one byte of fractional movement.
|
||||
fixed_t momx = ghost->x-oldghost.x;
|
||||
fixed_t momy = ghost->y-oldghost.y;
|
||||
if (momx != oldghost.momx
|
||||
|
@ -366,8 +365,6 @@ void G_WriteGhostTic(mobj_t *ghost)
|
|||
}
|
||||
|
||||
// This SHOULD set oldghost.x/y/z to match ghost->x/y/z
|
||||
// but it keeps the fractional loss of one byte,
|
||||
// so it will hopefully be made up for in future tics.
|
||||
oldghost.x += oldghost.momx;
|
||||
oldghost.y += oldghost.momy;
|
||||
oldghost.z += oldghost.momz;
|
||||
|
@ -1235,8 +1232,6 @@ void G_WriteMetalTic(mobj_t *metal)
|
|||
}
|
||||
|
||||
// This SHOULD set oldmetal.x/y/z to match metal->x/y/z
|
||||
// but it keeps the fractional loss of one byte,
|
||||
// so it will hopefully be made up for in future tics.
|
||||
oldmetal.x += oldmetal.momx;
|
||||
oldmetal.y += oldmetal.momy;
|
||||
oldmetal.z += oldmetal.momz;
|
||||
|
|
Loading…
Reference in a new issue