diff --git a/CommonLibF4/include/RE/Bethesda/BSRandom.h b/CommonLibF4/include/RE/Bethesda/BSRandom.h index fd61f532..27cd30de 100644 --- a/CommonLibF4/include/RE/Bethesda/BSRandom.h +++ b/CommonLibF4/include/RE/Bethesda/BSRandom.h @@ -4,11 +4,12 @@ namespace RE { namespace BSRandom { - inline std::uint32_t UnsignedInt(std::uint32_t aMin, std::uint32_t aMax) + inline std::uint32_t UnsignedInt(std::uint32_t a_min, std::uint32_t a_max) { using func_t = decltype(&BSRandom::UnsignedInt); static REL::Relocation func{ REL::ID(2267950) }; - return (aMin, aMax); + return func(a_min, a_max); + } } } }