From fa7c4d9c27df717e379d0ff07cb3bc472e476639 Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Tue, 26 Apr 2022 15:26:30 -0700 Subject: [PATCH] added comments --- dGame/dComponents/VendorComponent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dGame/dComponents/VendorComponent.cpp b/dGame/dComponents/VendorComponent.cpp index d2df1ef1..39558774 100644 --- a/dGame/dComponents/VendorComponent.cpp +++ b/dGame/dComponents/VendorComponent.cpp @@ -14,8 +14,8 @@ VendorComponent::~VendorComponent() = default; void VendorComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, unsigned int& flags) { outBitStream->Write1(); - outBitStream->Write1(); - outBitStream->Write(HasCraftingStation()); + outBitStream->Write1(); // Has standard items (Required for vendors with missions.) + outBitStream->Write(HasCraftingStation()); // Has multi use items } void VendorComponent::OnUse(Entity* originator) {