From 882179f675acc1384d2c851ce1d01caef7aa772f Mon Sep 17 00:00:00 2001 From: T1ti <40864460+T1ti@users.noreply.github.com> Date: Tue, 2 Jan 2024 18:53:02 +0100 Subject: [PATCH] fix mistake that caused brush to not render --- src/noggit/MapView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/noggit/MapView.cpp b/src/noggit/MapView.cpp index 6141b10f..24f18938 100755 --- a/src/noggit/MapView.cpp +++ b/src/noggit/MapView.cpp @@ -4460,7 +4460,7 @@ void MapView::draw_map() case editing_mode::ground: radius = terrainTool->brushRadius(); inner_radius = terrainTool->innerRadius(); - if(terrainTool->_edit_type != eTerrainType_Vertex || terrainTool->_edit_type != eTerrainType_Script && terrainTool->getImageMaskSelector()->isEnabled()) + if ((terrainTool->_edit_type != eTerrainType_Vertex || terrainTool->_edit_type != eTerrainType_Script) && terrainTool->getImageMaskSelector()->isEnabled()) _cursorType = CursorType::STAMP; break; case editing_mode::flatten_blur: