Core/PacketIO: Fixed SMSG_LEVEL_UP_INFO structure

Port From (https://github.com/TrinityCore/TrinityCore/commit/b981606575ea8eb2ec473ce4c7db6e59dbb46b7b)
This commit is contained in:
hondacrx
2021-11-16 13:25:29 -05:00
parent 3ab092a655
commit ec83a4ccd1
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -5230,6 +5230,7 @@ namespace Game.Entities
packet.PowerDelta[3] = 0;
packet.PowerDelta[4] = 0;
packet.PowerDelta[5] = 0;
packet.PowerDelta[6] = 0;
for (Stats i = Stats.Strength; i < Stats.Max; ++i)
packet.StatDelta[(int)i] = info.stats[(int)i] - (int)GetCreateStat(i);