mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 22:17:31 +00:00
fix gm serialization
This commit is contained in:
parent
1a14c29c39
commit
9d5d2a68ee
@ -6220,7 +6220,8 @@ void GameMessages::SendForceCameraTargetCycle(Entity* entity, bool bForceCycling
|
|||||||
bitStream.Write(entity->GetObjectID());
|
bitStream.Write(entity->GetObjectID());
|
||||||
bitStream.Write(eGameMessageType::FORCE_CAMERA_TARGET_CYCLE);
|
bitStream.Write(eGameMessageType::FORCE_CAMERA_TARGET_CYCLE);
|
||||||
bitStream.Write(bForceCycling);
|
bitStream.Write(bForceCycling);
|
||||||
bitStream.Write(cyclingMode);
|
bitStream.Write(cyclingMode != eCameraTargetCyclingMode::ALLOW_CYCLE_TEAMMATES);
|
||||||
|
if (cyclingMode != eCameraTargetCyclingMode::ALLOW_CYCLE_TEAMMATES) bitStream.Write(cyclingMode);
|
||||||
bitStream.Write(optionalTargetID);
|
bitStream.Write(optionalTargetID);
|
||||||
|
|
||||||
auto sysAddr = entity->GetSystemAddress();
|
auto sysAddr = entity->GetSystemAddress();
|
||||||
|
Loading…
Reference in New Issue
Block a user