shithub: choc

Download patch

ref: f274857617c282a890bb4d5db40f809cc5f97b73
parent: 9528c79eb676a87189f73ecbe64d570808a0fe54
author: Turo Lamminen <turol@iki.fi>
date: Fri Sep 9 12:03:20 EDT 2022

heretic: Move G_BuildTiccmd prototype to doomdef.h

--- a/src/heretic/d_net.c
+++ b/src/heretic/d_net.c
@@ -33,7 +33,6 @@
 
 ticcmd_t *netcmds;
 
-extern void G_BuildTiccmd(ticcmd_t *cmd, int maketic);
 
 // Called when a player leaves the game
 
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -698,6 +698,8 @@
 
 void G_WorldDone(void);
 
+void G_BuildTiccmd(ticcmd_t *cmd, int maketic);
+
 void G_Ticker(void);
 boolean G_Responder(event_t * ev);