ref: 95bd2d4483435285113a55281a8d713688ef2a1b
parent: e845757894e091f93fb7b835eee66a4a3f13e088
author: Fabian Greffrath <[email protected]>
date: Sat Dec 2 13:00:29 EST 2017
fix some mixed line endings
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -630,10 +630,10 @@
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 @@
// 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;
+ }
}
}
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -640,10 +640,10 @@
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 @@
// 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;
+ }
}
}