From b9fdaf8a942ea2f79e48e3f735ba8916f3364e70 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Sun, 6 May 2018 19:07:34 +0200 Subject: Use clang-tidy to check more code conventions (#4214) * Create clang-tidy.sh * Add clang-tidy to circle.yml * Fixed some naming violations Fixes #4164 --- src/NetherPortalScanner.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/NetherPortalScanner.h') diff --git a/src/NetherPortalScanner.h b/src/NetherPortalScanner.h index 92af06f98..f3df57c0d 100644 --- a/src/NetherPortalScanner.h +++ b/src/NetherPortalScanner.h @@ -39,8 +39,8 @@ private: static const int SearchSolidBaseWidth = 3; /** Where to place the player out from the face and across the face */ - const double OutOffset = 2; - const double AcrossOffset = 0.5; + static const double OutOffset; + static const double AcrossOffset; /** Builds a portal. */ void BuildNetherPortal(Vector3i a_Location, Direction a_Direction, bool a_IncludePlatform); -- cgit v1.2.3