TrinityCore/TrinityCore — Issue #3404: Crash on commit 5b4c7783c2a28e420cb4aaf4f2967083db8f6787
Author: devilcoredev
Created: 2011-10-08 12:23:01+00:00
State: open

Core can crash on this revision (5b4c7783c2a28e420cb4aaf4f2967083db8f6787) because there is a over-write of target's types on Scripting/MapScripts.cpp: first in ScriptsProcess() the variable "target" is a Object pointer, next with Player* target = target->ToPlayer(); the same varable becomes a Player pointer and this can cause some crashes. Next there are other bad conversions, the changes on this file must be reverted.