From 7be437b73da0a25249685248dbca38287fc4c686 Mon Sep 17 00:00:00 2001 From: dP Date: Wed, 12 Mar 2025 12:50:52 +0500 Subject: [PATCH] Uncomment some constants that are now needed for whatever reason --- src/viewport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewport.cpp b/src/viewport.cpp index d356165e6b..6ec83cb0f0 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -3237,8 +3237,8 @@ static void CheckOverflow(int &test, int &other, int max, int mult) test = max; } -// static const uint X_DIRS = (1 << DIR_NE) | (1 << DIR_SW); -// static const uint Y_DIRS = (1 << DIR_SE) | (1 << DIR_NW); +static const uint X_DIRS = (1 << DIR_NE) | (1 << DIR_SW); +static const uint Y_DIRS = (1 << DIR_SE) | (1 << DIR_NW); static const uint HORZ_DIRS = (1 << DIR_W) | (1 << DIR_E); // static const uint VERT_DIRS = (1 << DIR_N) | (1 << DIR_S);