Skip to content

Commit

Permalink
Clarify why the comment is there
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios authored and CelticMinstrel committed Mar 6, 2025
1 parent f091d46 commit df215d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scenedit/scen.sdfpicker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit df215d3

Please sign in to comment.