aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.cpp
diff options
context:
space:
mode:
authorAnubisss <none@none>2010-04-01 19:09:56 +0200
committerAnubisss <none@none>2010-04-01 19:09:56 +0200
commitf78b766705104444f695a265bce712d59a22cbb3 (patch)
tree445d2eaeaa60d4f578fde6b7cbbfd148ea1c6fd8 /src/game/SpellMgr.cpp
parent9f544d2f934420be5c6ce0bbe3db5d84153c9d61 (diff)
Use ToTempSummon() in a case instead of a C style cast.
Use correct Unit::GetCreature() instead of Unit::GetUnit() with casting the object to Creature pointer. Remove some usless casts. Fix a possible crash in pyrewood_ambushAI. TODO: Remove ugly cast macros(like CAST_PLR(), CAST_CRE()) from scripts and use the correct ToX() functions(like ToPlayer(), ToCreature()). --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
0 files changed, 0 insertions, 0 deletions