From c9e685bd9a0ac524edb8fe64eb6ec37540c55acc Mon Sep 17 00:00:00 2001 From: Giacomo Pozzoni Date: Sat, 17 Jul 2021 11:22:11 +0200 Subject: Core/SAI: Warn when an unused parameter is set in the database (#26628) * Core/SAI: Warn when an unused parameter is set in the database * Warn when an unused parameter is set in the database as all unused parameters are supposed to be set to 0. * Remove unused struct from union. * Add a new struct simpleTalk for SMART_ACTION_SIMPLE_TALK instead of reusing only some fields of struct talk from SMART_ACTION_TALK * Add addAura and flag structs to be used instead of generic ones to match the parameters used by actions * Add randRangeTimedActionList struct to be used instead of generic ones to match the parameters used by actions. * Remove unused action structs. (cherry picked from commit aa7279df095d086f7223a1fa13d11a0e58f1cf10) --- .../Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp index d96ed002392..9fad909cd62 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp @@ -30,7 +30,6 @@ #include "QuestDef.h" #include "ScriptedGossip.h" #include "ScriptMgr.h" -#include "SmartAI.h" #include "SpellInfo.h" #include "SplineChainMovementGenerator.h" #include "StringFormat.h" -- cgit v1.2.3