Core/Game: Include cleanup, part 4 - packets and largest headers (after preprocessing, except player/objectmgr)

This commit is contained in:
Shauren
2017-05-21 23:18:43 +02:00
parent 3cb8f532da
commit 3d7c2ef88f
101 changed files with 1048 additions and 826 deletions
@@ -105,10 +105,7 @@ WorldPacket const* WorldPackets::NPC::TrainerList::Write()
_worldPacket << spell.MoneyCost;
_worldPacket << spell.ReqSkillLine;
_worldPacket << spell.ReqSkillRank;
for (uint32 i = 0; i < MAX_TRAINERSPELL_ABILITY_REQS; ++i)
_worldPacket << spell.ReqAbility[i];
_worldPacket.append(spell.ReqAbility.data(), spell.ReqAbility.size());
_worldPacket << spell.Usable;
_worldPacket << spell.ReqLevel;
}