mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +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:
|
||||
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:
|
||||
return cheatUnlock();
|
||||
|
|
|
@ -235,7 +235,7 @@ void PolymostRenderState::Apply(FRenderState& state, GLState& oldState)
|
|||
oldState.DepthFunc = DepthFunc;
|
||||
}
|
||||
// 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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue