shithub: choc

Download patch

ref: 9528c79eb676a87189f73ecbe64d570808a0fe54
parent: 2b8fef5c41783bd7a01fab40727d4d353426cb75
author: Turo Lamminen <turol@iki.fi>
date: Fri Sep 9 11:59:49 EDT 2022

heretic: Move D_ProcessEvents 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 D_ProcessEvents(void);
 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
@@ -694,6 +694,8 @@
 void G_ExitLevel(void);
 void G_SecretExitLevel(void);
 
+void D_ProcessEvents(void);
+
 void G_WorldDone(void);
 
 void G_Ticker(void);