From b8ca2382c794998414a7d3fa031cb443d97dd279 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sat, 8 Apr 2017 11:27:08 +0300 Subject: [PATCH] [General] Remove variables that are not going to be used in ActorFrame --- components/openmw-mp/Base/BaseActor.hpp | 3 --- components/openmw-mp/Base/BaseEvent.hpp | 3 --- components/openmw-mp/Packets/World/PacketActorFrame.cpp | 2 -- 3 files changed, 8 deletions(-) diff --git a/components/openmw-mp/Base/BaseActor.hpp b/components/openmw-mp/Base/BaseActor.hpp index 7f312a735..76f285bba 100644 --- a/components/openmw-mp/Base/BaseActor.hpp +++ b/components/openmw-mp/Base/BaseActor.hpp @@ -15,13 +15,10 @@ namespace mwmp } - unsigned int movementFlags; - char movementAnim; char drawState; bool isFlying; ESM::Position position; - ESM::Position direction; ESM::Cell cell; float headPitch; diff --git a/components/openmw-mp/Base/BaseEvent.hpp b/components/openmw-mp/Base/BaseEvent.hpp index 58b815b93..91a97661d 100644 --- a/components/openmw-mp/Base/BaseEvent.hpp +++ b/components/openmw-mp/Base/BaseEvent.hpp @@ -38,10 +38,7 @@ namespace mwmp int goldValue; ESM::Position pos; - ESM::Position direction; - unsigned int movementFlags; - char movementAnim; int drawState; float headPitch; diff --git a/components/openmw-mp/Packets/World/PacketActorFrame.cpp b/components/openmw-mp/Packets/World/PacketActorFrame.cpp index 669e49826..221668d7f 100644 --- a/components/openmw-mp/Packets/World/PacketActorFrame.cpp +++ b/components/openmw-mp/Packets/World/PacketActorFrame.cpp @@ -38,8 +38,6 @@ void PacketActorFrame::Packet(RakNet::BitStream *bs, bool send) RW(worldObject.refNumIndex, send); RW(worldObject.mpNum, send); RW(worldObject.pos, send); - RW(worldObject.direction, send); - RW(worldObject.movementFlags, send); RW(worldObject.drawState, send); RW(worldObject.headPitch, send);