Permalink
Browse files

fix some mixed line endings

  • Loading branch information...
fabiangreffrath committed Dec 2, 2017
1 parent e845757 commit 95bd2d4483435285113a55281a8d713688ef2a1b
Showing with 22 additions and 22 deletions.
  1. +11 −11 src/heretic/g_game.c
  2. +11 −11 src/hexen/g_game.c
View
@@ -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
@@ -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;
}
}
}

0 comments on commit 95bd2d4

Please sign in to comment.