[9362] Make specs work at least for action bars
commit12987be49b588558bbb2f8c5b2b813ec3224f8b3
authorVladimirMangos <vladimir@getmangos.com>
Fri, 12 Feb 2010 04:38:40 +0000 (12 07:38 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Fri, 12 Feb 2010 06:29:50 +0000 (12 09:29 +0300)
tree302485132adcdf3b89e8e2432652c9169477bfe1
parent01a641e7fccfe992f49de7f7557ac19f33a3fba6
[9362] Make specs work at least for action bars

* Propertly add/remove required for specs work spells at 63624/63651.
* Copy current spec action bars to new spec at specs count increase, and delete action bars data at spec count decrease.
* Avoid undexpected action button data test for not active spec at loading/copy, but test action buttons data at spec activation.
* Reset active spec to default if active spec removed.
* Remove talent reset at spec switch that useless at this moment.
  Also note that for future case this also can be not correct and batter unlearn/learn only talents that different in specs.

After this changes specs must fully work in action bar part without unexpected another effects.
src/game/MiscHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
src/shared/revision_nr.h