Scripts/World: moved all scripts into their own respective namespaces
This commit is contained in:
1 parent
cd107956f5
commit
d5f1aea2d2
12 files changed
+59
-5
No files matched your search
@@ -36,6 +36,9 @@ EndContentData */
|
||||
#include "ScriptedCreature.h"
|
||||
#include "SpellInfo.h"
|
||||
|
||||
namespace Guards
|
||||
{
|
||||
|
||||
enum GuardGeneric
|
||||
{
|
||||
GENERIC_CREATURE_COOLDOWN = 5000,
|
||||
@@ -409,9 +412,11 @@ public:
|
||||
return new guard_shattrath_aldorAI(creature);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void AddSC_guards()
|
||||
{
|
||||
using namespace Guards;
|
||||
new guard_generic();
|
||||
new guard_shattrath_aldor();
|
||||
new guard_shattrath_scryer();
|
||||
|
||||
Reference in new issue
Block a user