mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
things switched, just gotta move the handle's
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user