From 408aaf87fd57dfae8982b227775baee257e00c60 Mon Sep 17 00:00:00 2001 From: powerof3 Date: Sat, 24 Aug 2024 16:45:26 +0000 Subject: [PATCH] maintenance --- include/RE/N/NiColor.h | 2 +- src/RE/B/BSVisit.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/RE/N/NiColor.h b/include/RE/N/NiColor.h index 0c9c60538..86f790cb1 100644 --- a/include/RE/N/NiColor.h +++ b/include/RE/N/NiColor.h @@ -46,7 +46,7 @@ namespace RE constexpr NiColor(std::uint32_t a_hexValue) noexcept : red(((a_hexValue >> 16) & 0xFF) / 255.0f), green(((a_hexValue >> 8) & 0xFF) / 255.0f), - blue(((a_hexValue) & 0xFF) / 255.0f) + blue(((a_hexValue)&0xFF) / 255.0f) { } diff --git a/src/RE/B/BSVisit.cpp b/src/RE/B/BSVisit.cpp index 3d59d2dae..e3792909c 100644 --- a/src/RE/B/BSVisit.cpp +++ b/src/RE/B/BSVisit.cpp @@ -13,7 +13,7 @@ namespace RE BSVisitControl TraverseScenegraphCollision(NiAVObject* a_object, std::function a_func) { auto result = BSVisitControl::kContinue; - + if (!a_object) { return result; }