diff options
| author | Ovahlord <dreadkiller@gmx.de> | 2024-03-14 12:10:25 +0100 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2024-03-14 12:10:25 +0100 |
| commit | 27cb6348aadddc6cde847ca68c5b11f118198674 (patch) | |
| tree | ab9537064b9f5082032cab833813b809ad4c4510 | |
| parent | d27f8db0e0bac2945a055893abe005ec6930c2b1 (diff) | |
Core/Players: fixed build
| -rw-r--r-- | src/server/game/Entities/Player/Player.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index 2b95266a309..4501f88aa84 100644 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -2281,18 +2281,11 @@ void Player::GiveLevel(uint8 level) /// @todo find some better solution // for (int i = 0; i < MAX_STORED_POWERS; ++i) packet.PowerDelta[0] = int32(basemana) - int32(GetCreateMana()); - packet.PowerDelta[1] = 0; - packet.PowerDelta[2] = 0; - packet.PowerDelta[3] = 0; - packet.PowerDelta[4] = 0; - packet.PowerDelta[5] = 0; - packet.PowerDelta[6] = 0; for (uint8 i = STAT_STRENGTH; i < MAX_STATS; ++i) packet.StatDelta[i] = int32(info.stats[i]) - GetCreateStat(Stats(i)); packet.NumNewTalents = DB2Manager::GetNumTalentsAtLevel(level, Classes(GetClass())) - DB2Manager::GetNumTalentsAtLevel(oldLevel, Classes(GetClass())); - packet.NumNewPvpTalentSlots = sDB2Manager.GetPvpTalentNumSlotsAtLevel(level, Classes(GetClass())) - sDB2Manager.GetPvpTalentNumSlotsAtLevel(oldLevel, Classes(GetClass())); SendDirectMessage(packet.Write()); |
