mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- use proper CheckCheatMode semantics for throwing players out of chasecam mode if DF2_CHASECAM gets unset.
This commit is contained in:
parent
e662e4321a
commit
15b1c71257
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ CUSTOM_CVAR (Int, dmflags2, 0, CVAR_SERVERINFO)
|
|||
}
|
||||
|
||||
// Come out of chasecam mode if we're not allowed to use chasecam.
|
||||
if (!(dmflags2 & DF2_CHASECAM) && !G_SkillProperty (SKILLP_DisableCheats) && !sv_cheats)
|
||||
if (!(dmflags2 & DF2_CHASECAM) && CheckCheatmode(false))
|
||||
{
|
||||
// Take us out of chasecam mode only.
|
||||
if (p->cheats & CF_CHASECAM)
|
||||
|
|
Loading…
Reference in a new issue