From aa7279df095d086f7223a1fa13d11a0e58f1cf10 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. --- .../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 681fcfb95d6..52d00cd137c 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp @@ -29,7 +29,6 @@ #include "QuestDef.h" #include "ScriptedEscortAI.h" #include "ScriptedGossip.h" -#include "SmartAI.h" #include "SpellInfo.h" #include "ScriptMgr.h" #include "SplineChainMovementGenerator.h" -- cgit v1.2.3