From ee6defb120a18c73f114f9683b12779186cbc1f7 Mon Sep 17 00:00:00 2001 From: Phillip Date: Wed, 23 Mar 2016 14:41:41 -0700 Subject: [PATCH] Compile fixes --- Runtime/CPlayerState.cpp | 2 +- Runtime/CPlayerState.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; }