Skip to content

Commit

Permalink
Fix shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
MjnMixael committed Dec 30, 2024
1 parent 6e40e8a commit f411332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/hud/hudconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class BoundingBox {
BoundingBox() : x1(-1), x2(-1), y1(-1), y2(-1) {}

// Constructor
BoundingBox(int x1, int x2, int y1, int y2) : x1(x1), x2(x2), y1(y1), y2(y2) {}
BoundingBox(int nx1, int nx2, int ny1, int ny2) : x1(nx1), x2(nx2), y1(ny1), y2(ny2) {}

bool isOverlapping(const BoundingBox& other) const
{
Expand Down

0 comments on commit f411332

Please sign in to comment.