From ea4ca83bf430044f7e967674fa54cadfc8a673a3 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 12 Mar 2025 06:53:09 -0500 Subject: [PATCH] don't print light mask in release builds --- src/game/boe.newgraph.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/boe.newgraph.cpp b/src/game/boe.newgraph.cpp index 91f25561..1c26cbab 100644 --- a/src/game/boe.newgraph.cpp +++ b/src/game/boe.newgraph.cpp @@ -212,12 +212,14 @@ void apply_light_mask(bool onWindow) { return; } + #ifdef DEBUG std::cout << "Current light mask:\n"; for(short i = 0; i < 13; i++) { for(short j = 0; j < 13; j++) std::cout << int(light_area[j][i]) << ' '; std::cout << '\n'; } + #endif dark_mask_region.clear(); dark_mask_region.addRect(big_to);