[ALL] Allow godmode despite deathmatch being enabled#1821
[ALL] Allow godmode despite deathmatch being enabled#1821YourSourceBoiii wants to merge 1 commit intoValveSoftware:masterfrom
Conversation
|
You should provide a brief summary of the changes in your commit messages. All of your recent PRs have commit messages like |
|
Wouldn't it be better to add a check for |
this check already exists above |
|
Note that |
I've been occasionally hosting a HLDMS server for like a year now where this exact change is patched in and the godmode works fine, even without making any edits to Cbaseplayer or Cbasecombatcharacter |
You made me double-check and I was wrong about TF2, because it implements the check in it's own Regardless, since not every game implements it and not every game calls |
Do you even understand where you're commenting this..? No wonder Valve hate Source licensing nowadays
Probably, but I'd repurpose this into a "make godmode available in all games" commit tbh, all games on this branch are gonna have deathmatch 1 regardless (since they're multiplayer), but like I said before, not all games actually implement |

For some reason the
godcommand is always blocked whengpGlobals->deathmatchis enabled, even whensv_cheats 1is onWhat's the point of this? It doesn't seem to break anything or cause any glitches. If cheats are on then you should be able to enter godmode IMO