Skip to content

Commit

Permalink
fix: build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed Feb 15, 2022
1 parent a0cb1f4 commit 86319bc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Code/client/Games/Skyrim/Forms/EnchantmentItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "MagicItem.h"

#include <Structs/Container.h>
#include <Structs/Inventory.h>
#include <Games/Magic/MagicSystem.h>
#include "BGSListForm.h"

Expand Down
3 changes: 3 additions & 0 deletions Code/client/Games/Skyrim/TESObjectREFR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ Inventory TESObjectREFR::GetInventory() const noexcept
auto pExtraContChangesEntries = GetContainerChanges()->entries;
for (auto pGameEntry : *pExtraContChangesEntries)
{
if (!pGameEntry)
continue;

Inventory::Entry entry;
modSystem.GetServerModId(pGameEntry->form->formID, entry.BaseId);
entry.Count = pGameEntry->count;
Expand Down
3 changes: 1 addition & 2 deletions Code/client/Games/Skyrim/TESObjectREFR.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
#include <Games/Misc/Lock.h>
#include <Games/Magic/MagicSystem.h>
#include <Magic/MagicCaster.h>
#include <Structs/Container.h>
#include <Structs/Inventory.h>
#include <Games/ExtraDataList.h>
#include <Structs/Container.h>

struct AnimationVariables;
struct TESWorldSpace;
Expand Down
2 changes: 2 additions & 0 deletions Code/client/Services/Debug/TestService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ void TestService::OnUpdate(const UpdateEvent& acUpdateEvent) noexcept
static char s_address[256] = "127.0.0.1:10578";
if (!m_transport.IsOnline())
m_transport.Connect(s_address);
else
m_transport.Close();
}
}
else
Expand Down
2 changes: 1 addition & 1 deletion Code/encoding/Structs/Inventory.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <Structs/Container.h>
#include <Structs/Inventory.h>
#include <TiltedCore/Serialization.hpp>

using TiltedPhoques::Serialization;
Expand Down

0 comments on commit 86319bc

Please sign in to comment.