Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lactozilla
SRB2
Commits
9cec9fbe
Commit
9cec9fbe
authored
Nov 26, 2022
by
Eden (Ashi)
Browse files
Options
Downloads
Patches
Plain Diff
fix NONET builds
parent
29aad5b7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/d_clisrv.c
+5
-0
5 additions, 0 deletions
src/d_clisrv.c
with
5 additions
and
0 deletions
src/d_clisrv.c
100644 → 100755
+
5
−
0
View file @
9cec9fbe
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment