diff options
Diffstat (limited to 'src/game/client/components/maplayers.cpp')
| -rw-r--r-- | src/game/client/components/maplayers.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/client/components/maplayers.cpp b/src/game/client/components/maplayers.cpp index 1d162999..b18685f9 100644 --- a/src/game/client/components/maplayers.cpp +++ b/src/game/client/components/maplayers.cpp @@ -63,7 +63,7 @@ void MAPLAYERS::on_render() { MAPITEM_GROUP *group = layers_get_group(g); - if(group->version >= 2 && group->use_clipping) + if(!config.gfx_noclip && group->version >= 2 && group->use_clipping) { // set clipping float points[4]; @@ -147,10 +147,11 @@ void MAPLAYERS::on_render() //layershot_end(); } } - - gfx_clip_disable(); + if(!config.gfx_noclip) + gfx_clip_disable(); } - gfx_clip_disable(); + if(!config.gfx_noclip) + gfx_clip_disable(); } |