diff options
Diffstat (limited to 'src/game/client/components')
| -rw-r--r-- | src/game/client/components/maplayers.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/client/components/maplayers.cpp b/src/game/client/components/maplayers.cpp index 9f46f4af..847350e6 100644 --- a/src/game/client/components/maplayers.cpp +++ b/src/game/client/components/maplayers.cpp @@ -89,15 +89,15 @@ void MAPLAYERS::on_render() bool render = false; bool is_game_layer = false; - // skip rendering if detail layers if not wanted - if(layer->flags&LAYERFLAG_DETAIL && !config.gfx_high_detail) - continue; - if(layer == (MAPITEM_LAYER*)layers_game_layer()) { is_game_layer = true; passed_gamelayer = 1; } + + // skip rendering if detail layers if not wanted + if(layer->flags&LAYERFLAG_DETAIL && !config.gfx_high_detail && !is_game_layer) + continue; if(type == -1) render = true; |