diff options
author | Anubisss <anubisss210@gmail.com> | 2011-01-12 02:06:06 +0100 |
---|---|---|
committer | Anubisss <anubisss210@gmail.com> | 2011-01-12 02:06:06 +0100 |
commit | 806794d4cef21f6a66ac456f10f77c4002b6d81c (patch) | |
tree | d563b398a0f17f56790f71b6c2ce1c39fe4b75f2 /src/server/shared/Database/Transaction.h | |
parent | 3a7a01e7c7d9f109ab13e2516b0f5d3064dc412d (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/Transaction.h')
0 files changed, 0 insertions, 0 deletions