Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
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
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
7ef7de1b
Commit
7ef7de1b
authored
Aug 20, 2023
by
Sal
Browse files
Options
Downloads
Patches
Plain Diff
Level select cheat fixes
parent
623fa126
Branches
Branches containing commit
No related tags found
1 merge request
!2111
Level select cheat fixes
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/d_netcmd.c
+1
-0
1 addition, 0 deletions
src/d_netcmd.c
src/m_cond.c
+1
-1
1 addition, 1 deletion
src/m_cond.c
with
2 additions
and
1 deletion
src/d_netcmd.c
+
1
−
0
View file @
7ef7de1b
...
@@ -1925,6 +1925,7 @@ static void Command_Map_f(void)
...
@@ -1925,6 +1925,7 @@ static void Command_Map_f(void)
newresetplayers
=
!
COM_CheckParm
(
"-noresetplayers"
);
newresetplayers
=
!
COM_CheckParm
(
"-noresetplayers"
);
prevent_cheat
=
!
(
usedCheats
)
&&
!
(
option_force
||
cv_debug
);
prevent_cheat
=
!
(
usedCheats
)
&&
!
(
option_force
||
cv_debug
);
set_cheated
=
false
;
if
(
!
(
netgame
||
multiplayer
))
if
(
!
(
netgame
||
multiplayer
))
{
{
...
...
This diff is collapsed.
Click to expand it.
src/m_cond.c
+
1
−
1
View file @
7ef7de1b
...
@@ -528,7 +528,7 @@ UINT8 M_CampaignWarpIsCheat(INT32 gt, INT32 mapnum, gamedata_t *data)
...
@@ -528,7 +528,7 @@ UINT8 M_CampaignWarpIsCheat(INT32 gt, INT32 mapnum, gamedata_t *data)
}
}
// It's only a cheat if you've never been there.
// It's only a cheat if you've never been there.
return
(
!
(
data
->
mapvisited
[
mapnum
]));
return
(
!
(
data
->
mapvisited
[
mapnum
-
1
]));
}
}
INT32
M_CountEmblems
(
gamedata_t
*
data
)
INT32
M_CountEmblems
(
gamedata_t
*
data
)
...
...
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