From 28d8f7f70dcf01b5c849f30846c6b86a11dea7e7 Mon Sep 17 00:00:00 2001 From: Naios Date: Wed, 16 Mar 2016 15:34:25 +0100 Subject: CMake: Use inherited dependencies in scripts * Removes the circular dependency between game <-> scripts (cherry picked from commit 96bc31924a5a418d37bd961ef2880f9072126348) --- src/server/game/AI/SmartScripts/SmartAI.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/server/game/AI/SmartScripts') diff --git a/src/server/game/AI/SmartScripts/SmartAI.h b/src/server/game/AI/SmartScripts/SmartAI.h index cfc8fbe785d..8454ea3b484 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.h +++ b/src/server/game/AI/SmartScripts/SmartAI.h @@ -257,4 +257,8 @@ class SmartGameObjectAI : public GameObjectAI private: SmartScript mScript; }; + +/// Registers scripts required by the SAI scripting system +void AddSC_SmartScripts(); + #endif -- cgit v1.2.3