From e6fd023adedf8828784ec75e091a3c02bf0df038 Mon Sep 17 00:00:00 2001 From: Winfidonarleyan Date: Sat, 8 Jul 2023 20:34:20 +0700 Subject: [PATCH] fix(Build): add missing db includes (#127) --- src/Transmogrification.cpp | 1 + src/cs_transmog.cpp | 1 + src/transmog_scripts.cpp | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Transmogrification.cpp b/src/Transmogrification.cpp index 00b2156..25859a5 100644 --- a/src/Transmogrification.cpp +++ b/src/Transmogrification.cpp @@ -1,5 +1,6 @@ #include "Transmogrification.h" #include "ItemTemplate.h" +#include "DatabaseEnv.h" Transmogrification* Transmogrification::instance() { diff --git a/src/cs_transmog.cpp b/src/cs_transmog.cpp index 85dc9c0..965e49a 100644 --- a/src/cs_transmog.cpp +++ b/src/cs_transmog.cpp @@ -21,6 +21,7 @@ #include "ScriptMgr.h" #include "Transmogrification.h" #include "Tokenize.h" +#include "DatabaseEnv.h" using namespace Acore::ChatCommands; diff --git a/src/transmog_scripts.cpp b/src/transmog_scripts.cpp index 55b69a5..7eb016b 100644 --- a/src/transmog_scripts.cpp +++ b/src/transmog_scripts.cpp @@ -23,6 +23,7 @@ Cant transmogrify rediculus items // Foereaper: would be fun to stab people with #include "Transmogrification.h" #include "ScriptedCreature.h" #include "ItemTemplate.h" +#include "DatabaseEnv.h" #define sT sTransmogrification #define GTS session->GetAcoreString // dropped translation support, no one using? @@ -806,4 +807,3 @@ void AddSC_Transmog() new PS_Transmogrification(); new WS_Transmogrification(); } -