aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/AdhocStatement.cpp
diff options
context:
space:
mode:
authorAnubisss <anubisss210@gmail.com>2011-01-12 02:06:06 +0100
committerAnubisss <anubisss210@gmail.com>2011-01-12 02:06:06 +0100
commit806794d4cef21f6a66ac456f10f77c4002b6d81c (patch)
treed563b398a0f17f56790f71b6c2ce1c39fe4b75f2 /src/server/shared/Database/AdhocStatement.cpp
parent3a7a01e7c7d9f109ab13e2516b0f5d3064dc412d (diff)
Fix a crash in Spell::CheckCast().
This crash happens when effect is SPELL_EFFECT_TALENT_SPEC_SELECT and the caster is not a player. You should always check object's type (or sure that object is 101% a player) before you use ToPlayer() casting function. Signed-off-by: Anubisss <anubisss210@gmail.com>
Diffstat (limited to 'src/server/shared/Database/AdhocStatement.cpp')
0 files changed, 0 insertions, 0 deletions