commit 95bd2d4483435285113a55281a8d713688ef2a1b
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Sat Dec 2 18:00:29 2017 +0100
Commit: Fabian Greffrath <fabian@greffrath.com>
CommitDate: Sat Dec 2 18:00:29 2017 +0100
fix some mixed line endings
---
src/heretic/g_game.c | 22 +++++++++++-----------
src/hexen/g_game.c | 22 +++++++++++-----------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/src/heretic/g_game.c b/src/heretic/g_game.c
index fc25a373..517cf7c6 100644
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -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;
+ }
}
}
diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c
index f885818e..778795b0 100644
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -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;
+ }
}
}