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