PDA

View Full Version : *Cleanup, search through the talent map instead of spell chains for talent ranks duri


biglad
11-21-2009, 09:01 AM
*Cleanup, search through the talent map instead of spell chains for talent ranks during spec swaps. Also properly set talent state upon talent reset, and only reset talents that exist in the active spec. Refs #367, #326

src/game/Guild.cpp (http://bitbucket.org/Azrael/mgacore2/src/d702e5d634f5/src/game/Guild.cpp) (14 lines added, 9 lines removed)
src/game/Item.h (http://bitbucket.org/Azrael/mgacore2/src/d702e5d634f5/src/game/Item.h) (3 lines added, 3 lines removed)
src/game/GuildHandler.cpp (http://bitbucket.org/Azrael/mgacore2/src/d702e5d634f5/src/game/GuildHandler.cpp) (1 lines added, 1 lines removed)
src/game/Player.cpp (http://bitbucket.org/Azrael/mgacore2/src/d702e5d634f5/src/game/Player.cpp) (57 lines added, 55 lines removed)



More... (http://bitbucket.org/Azrael/mgacore2/changeset/d702e5d634f5/)