[7901] Refactoting pet action bar related code. Fixed some related bugs.
commitaf4146dd99afbb7f4fb835e94bcd33dbd048f612
authorVladimirMangos <vladimir@getmangos.com>
Wed, 27 May 2009 15:24:12 +0000 (27 19:24 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Wed, 27 May 2009 15:43:57 +0000 (27 19:43 +0400)
tree9eed2204182cc370a77fda97ce15c90930ef9455
parentc8d2a852959076115bc0d125a123ee8e5dd326c6
[7901] Refactoting pet action bar related code. Fixed some related bugs.

* Correctly update action bar at loading and other cases when listed unlearned/not existed spells
* Avoid send data by PetSpellInitialize() many times while pet loading
src/game/Pet.cpp
src/game/Pet.h
src/game/PetHandler.cpp
src/game/Player.cpp
src/game/Unit.cpp
src/game/Unit.h
src/shared/revision_nr.h