mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
- Duke: Fixed noclip cheat message.
This commit is contained in:
parent
9ce8202eb1
commit
f4bd30b972
2 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ const char* GameInterface::GenericCheat(int player, int cheat)
|
||||||
|
|
||||||
case CHT_NOCLIP:
|
case CHT_NOCLIP:
|
||||||
ud.clipping = 1 - ud.clipping;
|
ud.clipping = 1 - ud.clipping;
|
||||||
return quoteMgr.GetQuote(ud.clipping ? QUOTE_CHEAT_NOCLIP : QUOTE_CHEAT_NOCLIP);
|
return quoteMgr.GetQuote(ud.clipping ? QUOTE_CHEAT_NOCLIP : QUOTE_CHEAT_CLIP);
|
||||||
|
|
||||||
case CHT_UNLOCK:
|
case CHT_UNLOCK:
|
||||||
return cheatUnlock();
|
return cheatUnlock();
|
||||||
|
|
|
@ -235,7 +235,7 @@ void PolymostRenderState::Apply(FRenderState& state, GLState& oldState)
|
||||||
oldState.DepthFunc = DepthFunc;
|
oldState.DepthFunc = DepthFunc;
|
||||||
}
|
}
|
||||||
// Disable brightmaps if non-black fog is used.
|
// Disable brightmaps if non-black fog is used.
|
||||||
if (!(Flags & RF_FogDisabled) && ShadeDiv >= 1 / 1000.f)
|
if (!(Flags & RF_FogDisabled) && ShadeDiv >= 1 / 1000.f && (GLInterface.useMapFog || FogColor))
|
||||||
{
|
{
|
||||||
state.EnableFog(1);
|
state.EnableFog(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue