This commit is contained in:
Rachael Alexanderson 2017-03-11 14:19:50 -05:00
commit e4ff812424
5 changed files with 5 additions and 5 deletions

View file

@ -808,7 +808,7 @@ void D_Display ()
{
StatusBar->DrawBottomStuff (HUD_AltHud);
if (DrawFSHUD || automapactive) DrawHUD();
if (players[consoleplayer].camera && players[consoleplayer].camera->player)
if (players[consoleplayer].camera && players[consoleplayer].camera->player && !automapactive)
{
StatusBar->DrawCrosshair();
}

View file

@ -81,7 +81,8 @@ enum
{
DM_MAINVIEW,
DM_OFFSCREEN,
DM_PORTAL
DM_PORTAL,
DM_SKYPORTAL
};
class FGLRenderer

View file

@ -655,7 +655,7 @@ void GLSkyboxPortal::DrawContents()
SaveMapSection();
currentmapsection[mapsection >> 3] |= 1 << (mapsection & 7);
GLRenderer->DrawScene(DM_PORTAL);
GLRenderer->DrawScene(DM_SKYPORTAL);
portal->mFlags &= ~PORTSF_INSKYBOX;
inskybox = false;
gl_RenderState.SetDepthClamp(oldclamp);

View file

@ -491,7 +491,7 @@ void FGLRenderer::DrawScene(int drawmode)
{
ssao_portals_available = 0;
}
else if (ssao_portals_available > 0)
else if (drawmode == DM_PORTAL && ssao_portals_available > 0)
{
applySSAO = true;
ssao_portals_available--;

View file

@ -561,7 +561,6 @@ void FRemapTable::AddToTranslation(const char *range)
}
sc.MustGetAnyToken();
Printf(0, "token type: %d", sc.TokenType);
if (sc.TokenType == '[')
{