fix some mixed line endings

This commit is contained in:
Fabian Greffrath 2017-12-02 18:00:29 +01:00
parent e845757894
commit 95bd2d4483
2 changed files with 22 additions and 22 deletions

View file

@ -630,10 +630,10 @@ void G_BuildTiccmd(ticcmd_t *cmd, int maketic)
BT_SPECIAL | BTS_SAVEGAME | (savegameslot << BTS_SAVESHIFT);
}
if (lowres_turn)
{
if (shortticfix)
{
if (lowres_turn)
{
if (shortticfix)
{
static signed short carry = 0;
signed short desired_angleturn;
@ -648,13 +648,13 @@ void G_BuildTiccmd(ticcmd_t *cmd, int maketic)
// next tic, so that successive small movements can accumulate.
carry = desired_angleturn - cmd->angleturn;
}
else
{
// truncate angleturn to the nearest 256 boundary
// for recording demos with single byte values for turn
cmd->angleturn &= 0xff00;
}
}
else
{
// truncate angleturn to the nearest 256 boundary
// for recording demos with single byte values for turn
cmd->angleturn &= 0xff00;
}
}
}

View file

@ -640,10 +640,10 @@ void G_BuildTiccmd(ticcmd_t *cmd, int maketic)
BT_SPECIAL | BTS_SAVEGAME | (savegameslot << BTS_SAVESHIFT);
}
if (lowres_turn)
{
if (shortticfix)
{
if (lowres_turn)
{
if (shortticfix)
{
static signed short carry = 0;
signed short desired_angleturn;
@ -658,13 +658,13 @@ void G_BuildTiccmd(ticcmd_t *cmd, int maketic)
// next tic, so that successive small movements can accumulate.
carry = desired_angleturn - cmd->angleturn;
}
else
{
// truncate angleturn to the nearest 256 boundary
// for recording demos with single byte values for turn
cmd->angleturn &= 0xff00;
}
}
else
{
// truncate angleturn to the nearest 256 boundary
// for recording demos with single byte values for turn
cmd->angleturn &= 0xff00;
}
}
}