summaryrefslogtreecommitdiff
path: root/src/game/Scripting/ScriptMgr.h
diff options
context:
space:
mode:
authorShinDarth <borzifrancesco@gmail.com>2016-08-19 20:26:58 +0200
committerShinDarth <borzifrancesco@gmail.com>2016-08-19 20:26:58 +0200
commitcb30a6b4043737957aa1d1bca27601c6577a80ec (patch)
tree2377147dbb71c8b982ea949fc5debdf4417a588a /src/game/Scripting/ScriptMgr.h
parent55c47f8a35a294ff702e29c49da6c81b22ec6e5a (diff)
Update chat system, based on TrinityCore commit
Diffstat (limited to 'src/game/Scripting/ScriptMgr.h')
-rw-r--r--src/game/Scripting/ScriptMgr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Scripting/ScriptMgr.h b/src/game/Scripting/ScriptMgr.h
index 5a460b4ecb..e5bbd34e93 100644
--- a/src/game/Scripting/ScriptMgr.h
+++ b/src/game/Scripting/ScriptMgr.h
@@ -548,7 +548,7 @@ class CommandScript : public ScriptObject
public:
// Should return a pointer to a valid command table (ChatCommand array) to be used by ChatHandler.
- virtual ChatCommand* GetCommands() const = 0;
+ virtual std::vector<ChatCommand> GetCommands() const = 0;
};
class WeatherScript : public ScriptObject, public UpdatableScript<Weather>
@@ -968,7 +968,7 @@ class ScriptMgr
public: /* CommandScript */
- std::vector<ChatCommand*> GetChatCommands();
+ std::vector<ChatCommand> GetChatCommands();
public: /* WeatherScript */