mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 15:19:42 +00:00
[General] Fix ObjectLock packets by making hasCellData true for them
This commit is contained in:
parent
4ad87faac1
commit
48c63dbce9
3 changed files with 3 additions and 2 deletions
|
@ -130,7 +130,7 @@ public:
|
||||||
{"OnPlayerDeath", Function<void, unsigned short>()},
|
{"OnPlayerDeath", Function<void, unsigned short>()},
|
||||||
{"OnPlayerResurrect", Function<void, unsigned short>()},
|
{"OnPlayerResurrect", Function<void, unsigned short>()},
|
||||||
{"OnPlayerCellChange", Function<void, unsigned short>()},
|
{"OnPlayerCellChange", Function<void, unsigned short>()},
|
||||||
{"OnPlayerKillCount", Function<void, unsigned short>()},
|
{"OnPlayerKillCount", Function<void, unsigned short>()},
|
||||||
{"OnPlayerAttribute", Function<void, unsigned short>()},
|
{"OnPlayerAttribute", Function<void, unsigned short>()},
|
||||||
{"OnPlayerSkill", Function<void, unsigned short>()},
|
{"OnPlayerSkill", Function<void, unsigned short>()},
|
||||||
{"OnPlayerLevel", Function<void, unsigned short>()},
|
{"OnPlayerLevel", Function<void, unsigned short>()},
|
||||||
|
|
|
@ -112,7 +112,7 @@ add_openmw_dir (mwmp/processors/actor ProcessorActorAI ProcessorActorAnimFlags P
|
||||||
)
|
)
|
||||||
|
|
||||||
add_openmw_dir (mwmp/processors/player ProcessorChatMessage ProcessorGUIMessageBox ProcessorHandshake ProcessorUserDisconnected
|
add_openmw_dir (mwmp/processors/player ProcessorChatMessage ProcessorGUIMessageBox ProcessorHandshake ProcessorUserDisconnected
|
||||||
ProcessorUserMyID ProcessorGameSettings ProcessorGameTime ProcessorGameWeather ProcessorPlayerBaseInfo
|
ProcessorUserMyID ProcessorGameSettings ProcessorGameTime ProcessorGameWeather ProcessorPlayerBaseInfo
|
||||||
ProcessorPlayerAnimFlags ProcessorPlayerAnimPlay ProcessorPlayerAttack ProcessorPlayerAttribute ProcessorPlayerBook
|
ProcessorPlayerAnimFlags ProcessorPlayerAnimPlay ProcessorPlayerAttack ProcessorPlayerAttribute ProcessorPlayerBook
|
||||||
ProcessorPlayerBounty ProcessorPlayerCellChange ProcessorPlayerCellState ProcessorPlayerCharClass ProcessorPlayerCharGen
|
ProcessorPlayerBounty ProcessorPlayerCellChange ProcessorPlayerCellState ProcessorPlayerCharClass ProcessorPlayerCharGen
|
||||||
ProcessorPlayerDeath ProcessorPlayerDisposition ProcessorPlayerEquipment ProcessorPlayerFaction ProcessorPlayerInventory
|
ProcessorPlayerDeath ProcessorPlayerDisposition ProcessorPlayerEquipment ProcessorPlayerFaction ProcessorPlayerInventory
|
||||||
|
|
|
@ -6,6 +6,7 @@ using namespace mwmp;
|
||||||
PacketObjectLock::PacketObjectLock(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
PacketObjectLock::PacketObjectLock(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||||
{
|
{
|
||||||
packetID = ID_OBJECT_LOCK;
|
packetID = ID_OBJECT_LOCK;
|
||||||
|
hasCellData = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PacketObjectLock::Object(WorldObject &worldObject, bool send)
|
void PacketObjectLock::Object(WorldObject &worldObject, bool send)
|
||||||
|
|
Loading…
Reference in a new issue