Fix: AnySolidTileInSelection always returns false due to inverted logic (#97)
Fix: Correct inverted logic in AnySolidTileInSelection (cherry picked from commit 2af0577f7d0ee5712a03465e2fde87346b990281)
This commit is contained in:
1 parent
2367153502
commit
be0cb77e68
1 file changed
+1
-1
@@ -303,7 +303,7 @@ namespace CalamityMod
|
||||
{
|
||||
for (int j = y; j != y + height; j += Math.Sign(height))
|
||||
{
|
||||
if (WorldGen.InWorld(i, j))
|
||||
if (!WorldGen.InWorld(i, j))
|
||||
continue;
|
||||
|
||||
if (WorldGen.SolidTile(Framing.GetTileSafely(i, j)))
|
||||
|
||||
Reference in new issue
Block a user