diff --git a/Runtime/Character/CSegId.hpp b/Runtime/Character/CSegId.hpp index 8b3d83828..2721df78d 100644 --- a/Runtime/Character/CSegId.hpp +++ b/Runtime/Character/CSegId.hpp @@ -11,7 +11,7 @@ class CSegId { public: constexpr CSegId() noexcept = default; constexpr CSegId(u8 id) noexcept : x0_segId(id) {} - explicit CSegId(CInputStream& in) : x0_segId(in.ReadUint8()) {} + explicit CSegId(CInputStream& in) : x0_segId(in.ReadLong()) {} constexpr CSegId& operator++() noexcept { ++x0_segId; return *this;