* Remove Player::SetSession (obsolete and dangerous function).
* Speed up map script searches (avoid redundant loops). * Fix linking errors for ScriptObject::RegisterSelf. --HG-- branch : trunk extra : rebase_source : 2ba48fdab4e119c6de7fe64e47c5b8115fdac1b5
This commit is contained in:
@@ -1812,7 +1812,6 @@ class Player : public Unit, public GridObject<Player>
|
||||
void RemovedInsignia(Player* looterPlr);
|
||||
|
||||
WorldSession* GetSession() const { return m_session; }
|
||||
void SetSession(WorldSession *s) { m_session = s; }
|
||||
|
||||
void BuildCreateUpdateBlockForPlayer(UpdateData *data, Player *target) const;
|
||||
void DestroyForPlayer(Player *target, bool anim = false) const;
|
||||
|
||||
Reference in New Issue
Block a user