From df215d32f4df39409c7d17419b805e38941ef549 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 5 Mar 2025 13:11:15 -0600 Subject: [PATCH] Clarify why the comment is there --- src/scenedit/scen.sdfpicker.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scenedit/scen.sdfpicker.hpp b/src/scenedit/scen.sdfpicker.hpp index 9579892f..81716fda 100644 --- a/src/scenedit/scen.sdfpicker.hpp +++ b/src/scenedit/scen.sdfpicker.hpp @@ -16,8 +16,8 @@ class cTilemap; class cStuffDonePicker { cDialog dlog; - // Note: x and y in initial_sdf and chosen_sdf are actually (c, r) and must be flipped when - // indexing SDFs or their names in the scenario + // Note: x and y in initial_sdf and chosen_sdf are (c, r), but the flag array and name map + // are indexed by [r][c]. Remember to flip the order when necessary. location initial_sdf, chosen_sdf, viewport; cTilemap* grid; cTilemap* row_labels;