aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2024-03-14 12:10:25 +0100
committerOvahlord <dreadkiller@gmx.de>2024-03-14 12:10:25 +0100
commit27cb6348aadddc6cde847ca68c5b11f118198674 (patch)
treeab9537064b9f5082032cab833813b809ad4c4510
parentd27f8db0e0bac2945a055893abe005ec6930c2b1 (diff)
Core/Players: fixed build
-rw-r--r--src/server/game/Entities/Player/Player.cpp7
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());