summaryrefslogtreecommitdiff
path: root/src/strife/g_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/g_game.c')
-rw-r--r--src/strife/g_game.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/strife/g_game.c b/src/strife/g_game.c
index 16e9c263..18f037c2 100644
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -334,7 +334,7 @@ static int G_NextWeapon(int direction)
// or reads it from the demo buffer.
// If recording a demo, write it out
//
-void G_BuildTiccmd (ticcmd_t* cmd)
+void G_BuildTiccmd (ticcmd_t* cmd, int maketic)
{
int i;
boolean strafe;
@@ -963,7 +963,7 @@ void G_Ticker (void)
{
cmd = &players[i].cmd;
- memcpy (cmd, &netcmds[i][buf], sizeof(ticcmd_t));
+ memcpy (cmd, &netcmds[i], sizeof(ticcmd_t));
if (demoplayback)
G_ReadDemoTiccmd (cmd);
@@ -2472,6 +2472,3 @@ boolean G_CheckDemoStatus (void)
return false;
}
-
-
-