mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +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.
|
// 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.
|
// Take us out of chasecam mode only.
|
||||||
if (p->cheats & CF_CHASECAM)
|
if (p->cheats & CF_CHASECAM)
|
||||||
|
|
Loading…
Reference in a new issue