diff options
author | click <none@none> | 2010-08-09 01:52:26 +0200 |
---|---|---|
committer | click <none@none> | 2010-08-09 01:52:26 +0200 |
commit | abd261b1a1d95f0b11385d26fc8867b5b8e38ffc (patch) | |
tree | d20434506fbd86bc889007fd4dcd0c0251741ede /src/server/scripts/Custom | |
parent | 910864c8566173ba086019ea49af2a2b5a752375 (diff) |
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
Diffstat (limited to 'src/server/scripts/Custom')
-rw-r--r-- | src/server/scripts/Custom/custom_example.cpp | 3 | ||||
-rw-r--r-- | src/server/scripts/Custom/custom_gossip_codebox.cpp | 3 | ||||
-rw-r--r-- | src/server/scripts/Custom/test.cpp | 3 |
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") { } |