From b0f9ec59798241b309c3ac15f947c0a7d20963c0 Mon Sep 17 00:00:00 2001 From: AtomCrafty Date: Sun, 30 Jun 2024 13:24:50 +0200 Subject: [PATCH] Fix compiler error --- include/RE/N/NiBillboardNode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/RE/N/NiBillboardNode.h b/include/RE/N/NiBillboardNode.h index c34207c00..7353d9459 100644 --- a/include/RE/N/NiBillboardNode.h +++ b/include/RE/N/NiBillboardNode.h @@ -47,7 +47,7 @@ namespace RE void SetMode(FaceMode a_mode) { - userFlags = (std::to_underlying(a_mode) << FACE_MODE_POS) | userFlags & ~FACE_MODE_MASK; + userFlags = static_cast((std::to_underlying(a_mode) << FACE_MODE_POS) | userFlags & ~FACE_MODE_MASK); } // members