aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Custom
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/Custom')
-rw-r--r--src/server/scripts/Custom/custom_example.cpp3
-rw-r--r--src/server/scripts/Custom/custom_gossip_codebox.cpp3
-rw-r--r--src/server/scripts/Custom/test.cpp3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/server/scripts/Custom/custom_example.cpp b/src/server/scripts/Custom/custom_example.cpp
index ca7603bcfac..da4e4fdd787 100644
--- a/src/server/scripts/Custom/custom_example.cpp
+++ b/src/server/scripts/Custom/custom_example.cpp
@@ -59,7 +59,8 @@ EndScriptData */
#define SAY_SALUTE "Move out Soldier!"
//This is the GetAI method used by all scripts that involve AI
-//It is called every time a new Creature using this script is created class custom_example : public CreatureScript
+//It is called every time a new Creature using this script is created
+class custom_example : public CreatureScript
{
public:
custom_example() : CreatureScript("custom_example") { }
diff --git a/src/server/scripts/Custom/custom_gossip_codebox.cpp b/src/server/scripts/Custom/custom_gossip_codebox.cpp
index 6b1dd91fabb..19ef0421651 100644
--- a/src/server/scripts/Custom/custom_gossip_codebox.cpp
+++ b/src/server/scripts/Custom/custom_gossip_codebox.cpp
@@ -33,7 +33,8 @@ EndScriptData */
#define SAY_WRONG "Wrong!"
#define SAY_RIGHT "You're right, you are allowed to see my inner secrets."
-//This function is called when the player opens the gossip menubool class custom_gossip_codebox : public GameObjectScript
+//This function is called when the player opens the gossip menubool
+class custom_gossip_codebox : public GameObjectScript
{
public:
custom_gossip_codebox() : GameObjectScript("custom_gossip_codebox") { }
diff --git a/src/server/scripts/Custom/test.cpp b/src/server/scripts/Custom/test.cpp
index 024b06fff0e..87ee59369b3 100644
--- a/src/server/scripts/Custom/test.cpp
+++ b/src/server/scripts/Custom/test.cpp
@@ -152,7 +152,8 @@ struct TRINITY_DLL_DECL npc_testAI : public npc_escortAI
}
}
};
- class test : public CreatureScript
+
+class test : public CreatureScript
{
public:
test() : CreatureScript("test") { }