[9584] Continue fix loot roll packets and related code.
commitb6db5b651a27c87872aa946a1d01585230c834a4
authorVladimirMangos <vladimir@getmangos.com>
Sun, 14 Mar 2010 21:52:49 +0000 (15 00:52 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Sun, 14 Mar 2010 22:31:43 +0000 (15 01:31 +0300)
treedfa867c5a83217d0bbc40d23496ce5e761583478
parent6ff7188ca10dc5df2ac001a33b40f9fa710639d1
[9584] Continue fix loot roll packets and related code.

* Propertly send itemSlot field and use it with looted target for roll selection.
* Remove references to NumberOfPlayers useless data send in args
* Fixed long existed bug with roll show when single player from group can roll item.
* Fixed possible crash at player leave group while item roll
* Fixed wrong item amount in stack in rolls inreasult use non-initilized field as info source.
* Remove unused item guid field from Roll and not lost for nothing item guids for this.

Thanks for help in research to TOM_RUS and j4r0d.
src/game/Group.cpp
src/game/Group.h
src/game/GroupHandler.cpp
src/shared/revision_nr.h