diff --git a/Runtime/CPlayerState.cpp b/Runtime/CPlayerState.cpp index 9c68ebdf8..324796153 100644 --- a/Runtime/CPlayerState.cpp +++ b/Runtime/CPlayerState.cpp @@ -179,7 +179,7 @@ float CPlayerState::GetBeamSwitchTime() const 0.2, 0.1, 0.2, 0.2 }; - return switchTime[u32(x8_currentBeam)]; + return switchTimes[u32(x8_currentBeam)]; } u32 CPlayerState::CalculateItemCollectionRate() const diff --git a/Runtime/CPlayerState.hpp b/Runtime/CPlayerState.hpp index 8f601eaa2..3fceabc29 100644 --- a/Runtime/CPlayerState.hpp +++ b/Runtime/CPlayerState.hpp @@ -113,6 +113,7 @@ private: CStaticInterference x188_staticIntf; public: + float GetBeamSwitchTime() const; u32 CalculateItemCollectionRate() const; u32 GetBaseHealthCapacityInt32() { return 99; }