Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
changed setting==0 to !setting
  • Loading branch information
Tim Schumacher committed Nov 7, 2015
1 parent cbffcd4 commit 201782d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/game/client/render_map.cpp
Expand Up @@ -324,7 +324,7 @@ void CRenderTools::RenderTilemap(CTile *pTiles, int w, int h, float Scale, vec4

void CRenderTools::RenderTeleOverlay(CTeleTile *pTele, int w, int h, float Scale, float Alpha)
{
if(g_Config.m_ClTextEntities == 0)
if(!g_Config.m_ClTextEntities)
return;

float ScreenX0, ScreenY0, ScreenX1, ScreenY1;
Expand Down Expand Up @@ -438,7 +438,7 @@ void CRenderTools::RenderSpeedupOverlay(CSpeedupTile *pSpeedup, int w, int h, fl

void CRenderTools::RenderSwitchOverlay(CSwitchTile *pSwitch, int w, int h, float Scale, float Alpha)
{
if(g_Config.m_ClTextEntities == 0)
if(!g_Config.m_ClTextEntities)
return;

float ScreenX0, ScreenY0, ScreenX1, ScreenY1;
Expand Down Expand Up @@ -496,7 +496,7 @@ void CRenderTools::RenderSwitchOverlay(CSwitchTile *pSwitch, int w, int h, float

void CRenderTools::RenderTuneOverlay(CTuneTile *pTune, int w, int h, float Scale, float Alpha)
{
if(g_Config.m_ClTextEntities == 0)
if(!g_Config.m_ClTextEntities)
return;

float ScreenX0, ScreenY0, ScreenX1, ScreenY1;
Expand Down

0 comments on commit 201782d

Please sign in to comment.