mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
Merge commit 'origin/master' into 310
Conflicts: src/game/CharacterHandler.cpp src/game/Player.cpp
This commit is contained in:
commit
d4323e0071
88 changed files with 681 additions and 685 deletions
|
|
@ -175,7 +175,7 @@ void WorldSession::HandlePetAction( WorldPacket & recv_data )
|
|||
return;
|
||||
}
|
||||
|
||||
for(uint32 i = 0; i < 3;i++)
|
||||
for(uint32 i = 0; i < 3;++i)
|
||||
{
|
||||
if(spellInfo->EffectImplicitTargetA[i] == TARGET_ALL_ENEMY_IN_AREA || spellInfo->EffectImplicitTargetA[i] == TARGET_ALL_ENEMY_IN_AREA_INSTANT || spellInfo->EffectImplicitTargetA[i] == TARGET_ALL_ENEMY_IN_AREA_CHANNELED)
|
||||
return;
|
||||
|
|
@ -255,6 +255,8 @@ void WorldSession::HandlePetAction( WorldPacket & recv_data )
|
|||
case SPELL_FAILED_REQUIRES_SPELL_FOCUS:
|
||||
data << uint32(spellInfo->RequiresSpellFocus);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
SendPacket(&data);
|
||||
}
|
||||
|
|
@ -349,7 +351,7 @@ void WorldSession::HandlePetSetAction( WorldPacket & recv_data )
|
|||
}
|
||||
|
||||
count = (recv_data.size() == 24) ? 2 : 1;
|
||||
for(uint8 i = 0; i < count; i++)
|
||||
for(uint8 i = 0; i < count; ++i)
|
||||
{
|
||||
recv_data >> position;
|
||||
recv_data >> spell_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue