neo-mat/arcemu — comment on commit ff7807127d6662c1170f1ff632cb21598f2c668d
File: src/arcemu-world/SpellProc_Shaman.cpp line 53
By jackpoz:

Don't cast an object to Player and then store in in a Unit reference. If you need a Unit* , use GetUnit(). If you need a Player* , use GetPlayer() .