* 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:
XTZGZoReX
2010-08-09 11:07:23 +02:00
parent 4392b95703
commit a038772b3e
3 changed files with 158 additions and 75 deletions
-1
View File
@@ -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;