things switched, just gotta move the handle's

This commit is contained in:
Aronwk
2025-05-16 18:17:28 -05:00
parent 47015fda08
commit 5628664060
10 changed files with 179 additions and 179 deletions

View File

@@ -34,7 +34,7 @@ void HavokVehiclePhysicsComponent::SetIsOnRail(bool val) {
m_IsOnRail = val;
}
void HavokVehiclePhysicsComponent::SetRemoteInputInfo(const RemoteInputInfo& remoteInputInfo) {
void HavokVehiclePhysicsComponent::SetRemoteInputInfo(const WorldPackets::PositionUpdate::RemoteInputInfo& remoteInputInfo) {
if (remoteInputInfo == m_RemoteInputInfo) return;
this->m_RemoteInputInfo = remoteInputInfo;
m_DirtyPosition = true;

View File

@@ -4,7 +4,7 @@
#include "Entity.h"
#include "PhysicsComponent.h"
#include "eReplicaComponentType.h"
#include "PositionUpdate.h"
#include "WorldPackets.h"
/**
* Physics component for vehicles.
@@ -65,7 +65,7 @@ public:
*/
const bool GetIsOnRail() const { return m_IsOnRail; }
void SetRemoteInputInfo(const RemoteInputInfo&);
void SetRemoteInputInfo(const WorldPackets::PositionUpdate::RemoteInputInfo& remoteInputInfo);
private:
NiPoint3 m_Velocity;
@@ -76,5 +76,5 @@ private:
float m_SoftUpdate = 0;
uint32_t m_EndBehavior;
RemoteInputInfo m_RemoteInputInfo;
WorldPackets::PositionUpdate::RemoteInputInfo m_RemoteInputInfo;
};