diff --git a/src/g_game.cpp b/src/g_game.cpp index c7ee9c3b7..42feceee0 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -317,7 +317,8 @@ CCMD (slot) } // [Nash] Option to display the name of the weapon being switched to. - if ((paused || pauseext) || players[consoleplayer].playerstate != PST_LIVE) return; + if ((paused || pauseext) || players[consoleplayer].playerstate != PST_LIVE) + return; if (SendItemUse != players[consoleplayer].ReadyWeapon && (displaynametags & 2) && StatusBar && SmallFont && SendItemUse) { StatusBar->AttachMessage(Create(nullptr, SendItemUse->GetTag(), @@ -328,6 +329,8 @@ CCMD (slot) CCMD (centerview) { + if ((players[consoleplayer].cheats & CF_TOTALLYFROZEN)) + return; Net_WriteByte (DEM_CENTERVIEW); }