- enable DM support for sv_noplayerclip
- fixed voodoo dolls with sv_noplayerclip - fixed autoaim working incorrectly with sv_noplayerclip
This commit is contained in:
parent
3d6cc47dc1
commit
2fa2533982
3 changed files with 39 additions and 16 deletions
|
|
@ -575,11 +575,6 @@ CVAR (Flag, sv_noextraammo, dmflags2, DF2_NO_EXTRA_AMMO);
|
|||
|
||||
CUSTOM_CVAR(Int, dmflags3, 0, CVAR_SERVERINFO | CVAR_NOINITCALL)
|
||||
{
|
||||
if ((self & DF3_NO_PLAYER_CLIP) && (!multiplayer || deathmatch))
|
||||
{
|
||||
self = self & ~DF3_NO_PLAYER_CLIP;
|
||||
Printf("No player clipping is only available in coop\n");
|
||||
}
|
||||
}
|
||||
|
||||
CVAR(Flag, sv_noplayerclip, dmflags3, DF3_NO_PLAYER_CLIP);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue