Core: Fix compile and a warning in spell_paladin

This commit is contained in:
DDuarte
2014-07-22 14:38:37 +01:00
parent 7ec7119f83
commit 059f3030b4
2 changed files with 2 additions and 2 deletions

View File

@@ -201,7 +201,7 @@ void WorldSocket::AsyncWrite(WorldPacket const& packet)
if (sPacketLog->CanLogPacket())
sPacketLog->LogPacket(packet, SERVER_TO_CLIENT);
WorldPacket* pkt = &packet;
WorldPacket const* pkt = &packet;
WorldPacket buff; // Empty buffer used in case packet should be compressed
if (_worldSession && packet.size() > 0x400)
{

View File

@@ -1120,7 +1120,7 @@ class spell_pal_templar_s_verdict : public SpellScriptLoader
switch (caster->GetPower(POWER_HOLY_POWER))
{
case 0: // 1 Holy Power
damage = damage;
// same damage
break;
case 1: // 2 Holy Power
damage *= 3; // 3*30 = 90%