aboutsummaryrefslogtreecommitdiff
path: root/src/game/ScriptMgr.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-06-02 18:43:11 +0200
committerMachiavelli <none@none>2010-06-02 18:43:11 +0200
commitfb8399c4132b97f5637efb8dd7262050964f568a (patch)
tree17f93c1ff317dd82f286074b25bbcdfb2d8c9ad6 /src/game/ScriptMgr.cpp
parent60fd4a2f60c300b727d5daf721023ee403b8bf44 (diff)
Few changes to *_scripts handling in core.
- Use pointers of most abstract classes possible where applicable. - Don“t use dynamic_cast when casting possibility is already explicitly checked per typeid. - Where applicable use the ToCreature() and ToPlayer() functions for typecasting. - Fix functioning of SCRIPT_COMMAND_CAST_SPELL - Fix possible crash in SCRIPT_COMMAND_KILL - Always include script id in error messages. - Added a few TODO comments. These changesets were merged in from MaNGOS: - [9576] Implement SCRIPT_COMMAND_CREATE_ITEM by NoFantasy - [9577] Implement SCRIPT_COMMAND_DESPAWN_SELF by NoFantasy - [9869] Extend SCRIPT_COMMAND_QUEST_EXPLORED to allow player<->player as source/target by NoFantasy --HG-- branch : trunk
Diffstat (limited to 'src/game/ScriptMgr.cpp')
0 files changed, 0 insertions, 0 deletions