- prettification of p_teleport.cpp and some include cleanup.

This commit is contained in:
Christoph Oelckers 2019-01-31 22:22:39 +01:00
commit 65c2c318fb
6 changed files with 65 additions and 40 deletions

View file

@ -71,6 +71,17 @@
#include "g_levellocals.h"
#include "vm.h"
//==========================================================================
//
//
//
//==========================================================================
CUSTOM_CVAR(Int, r_fakecontrast, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
{
if (self < 0) self = 1;
else if (self > 2) self = 2;
}
// [RH]
// P_NextSpecialSector()
@ -1465,18 +1476,6 @@ void subsector_t::BuildPolyBSP()
}
}
//==========================================================================
//
//
//
//==========================================================================
CUSTOM_CVAR(Int, r_fakecontrast, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
{
if (self < 0) self = 1;
else if (self > 2) self = 2;
}
//===========================================================================
//
//