Skip to content
Snippets Groups Projects
Commit 9cec9fbe authored by Eden (Ashi)'s avatar Eden (Ashi) :dog2:
Browse files

fix NONET builds

parent 29aad5b7
Branches
No related tags found
No related merge requests found
src/d_clisrv.c 100644 → 100755
...@@ -2437,12 +2437,17 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic ...@@ -2437,12 +2437,17 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic
D_ProcessEvents(); //needed for menu system to receive inputs D_ProcessEvents(); //needed for menu system to receive inputs
else else
{ {
#ifndef NONET
// my hand has been forced and I am dearly sorry for this awful hack :vomit: // my hand has been forced and I am dearly sorry for this awful hack :vomit:
for (; eventtail != eventhead; eventtail = (eventtail+1) & (MAXEVENTS-1)) for (; eventtail != eventhead; eventtail = (eventtail+1) & (MAXEVENTS-1))
{ {
if (!Snake_Joy_Grabber(&events[eventtail])) if (!Snake_Joy_Grabber(&events[eventtail]))
G_MapEventsToControls(&events[eventtail]); G_MapEventsToControls(&events[eventtail]);
} }
#else // woopsie doodles forgot to disable the above in NONET builds - ashi
for (; eventtail != eventhead; eventtail = (eventtail+1) & (MAXEVENTS-1))
G_MapEventsToControls(&events[eventtail]);
#endif
} }
if (gamekeydown[KEY_ESCAPE] || gamekeydown[KEY_JOY1+1] || cl_mode == CL_ABORTED) if (gamekeydown[KEY_ESCAPE] || gamekeydown[KEY_JOY1+1] || cl_mode == CL_ABORTED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment