[7070] Use IsInWorld() check instead explcit loading args in spell learning code...
commit6a8297ef2455fc2978f7a48a3337a2c6323f13c1
authorVladimirMangos <vladimir@getmangos.com>
Sun, 11 Jan 2009 22:00:34 +0000 (12 01:00 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Sun, 11 Jan 2009 22:15:01 +0000 (12 01:15 +0300)
tree48aa2b27fc48d06510dee10602fa8f618dd62d6e
parent832039af1ed69fc27ecc7bb99955dc7992688a88
[7070] Use IsInWorld() check instead explcit loading args in spell learning code. Learn default spells at loading also.

At player loading known spells (full list) send to client at adding player to map,
so !IsInWorld() is most correct way check when spell learn packets not need send and wait seniding full spell list.
src/game/Player.cpp
src/game/Player.h
src/shared/revision_nr.h