1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 06:15:32 +00:00

[General] Use ESM::Position to store BaseActor's movement

This commit is contained in:
David Cernat 2017-04-10 16:32:10 +03:00
parent 2709de83fb
commit 7662297334
2 changed files with 3 additions and 3 deletions

View file

@ -21,6 +21,8 @@ namespace mwmp
int mpNum;
ESM::Position position;
ESM::Position direction;
ESM::Cell cell;
char drawState;
@ -34,9 +36,6 @@ namespace mwmp
AnimStates animStates;
bool hasAnimStates;
Movement movement;
bool hasMovement;
};
class BaseActorList

View file

@ -38,6 +38,7 @@ void PacketActorPosition::Packet(RakNet::BitStream *bs, bool send)
RW(actor.refNumIndex, send);
RW(actor.mpNum, send);
RW(actor.position, send);
RW(actor.direction, send);
if (!send)
{