From 27bf7e9ad41699dadab7e3415d31aa823e40cce7 Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Tue, 8 Sep 2026 16:30:23 -0500 Subject: [PATCH] fix stupid in coord templates --- library/include/CoordTemplate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/include/CoordTemplate.h b/library/include/CoordTemplate.h index ec763610fc..73f07939e3 100644 --- a/library/include/CoordTemplate.h +++ b/library/include/CoordTemplate.h @@ -40,7 +40,7 @@ namespace DFHack } bool operator!=(const Coord2d& other) const { - return x != other.x || y == other.y; + return x != other.x || y != other.y; } bool operator<(const Coord2d& other) const { @@ -147,7 +147,7 @@ namespace DFHack } bool operator!=(const Coord3d& other) const { - return x != other.x || y == other.y || z == other.z; + return x != other.x || y != other.y || z != other.z; } bool operator<(const Coord3d& other) const {