From abd261b1a1d95f0b11385d26fc8867b5b8e38ffc Mon Sep 17 00:00:00 2001 From: click Date: Mon, 9 Aug 2010 01:52:26 +0200 Subject: Replace (CR) character from all converted scripts and replace it with it's proper (LF) counterpart - should fix the "linking scripts" failure (not tested) --HG-- branch : trunk --- src/server/scripts/Custom/custom_example.cpp | 3 ++- src/server/scripts/Custom/custom_gossip_codebox.cpp | 3 ++- src/server/scripts/Custom/test.cpp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/server/scripts/Custom') 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") { } -- cgit v1.2.3