From cacf4fcd977da998a4a608d0af2493c27727d76f Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Tue, 26 Apr 2022 15:23:29 -0700 Subject: [PATCH] corrected serialization --- dGame/dComponents/VendorComponent.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dGame/dComponents/VendorComponent.cpp b/dGame/dComponents/VendorComponent.cpp index 4dd88e71..d2df1ef1 100644 --- a/dGame/dComponents/VendorComponent.cpp +++ b/dGame/dComponents/VendorComponent.cpp @@ -13,11 +13,6 @@ VendorComponent::VendorComponent(Entity* parent) : Component(parent) { VendorComponent::~VendorComponent() = default; void VendorComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, unsigned int& flags) { - // Only serialize this entity on construction. - // [bool] hasVendorInfo - // [bool] hasStandardItems (always true?) - // [bool] hasMulticostItems (only true for umami with their cooking for now.) - if (!bIsInitialUpdate) return; outBitStream->Write1(); outBitStream->Write1(); outBitStream->Write(HasCraftingStation());