PDA

View Full Version : *Use map pointer of killed creature instead of player pointer to prevent crash in cas


biglad
07-21-2009, 07:26 PM
*Use map pointer of killed creature instead of player pointer to prevent crash in case killer is not in world.

src/game/Formulas.h (http://bitbucket.org/Azrael/mgacore2/src/7a3cce12a4a3/src/game/Formulas.h) (1 lines added, 1 lines removed)
src/game/Unit.cpp (http://bitbucket.org/Azrael/mgacore2/src/7a3cce12a4a3/src/game/Unit.cpp) (1 lines added, 0 lines removed)



More... (http://bitbucket.org/Azrael/mgacore2/changeset/7a3cce12a4a3/)