mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10561] Avoid ask AI for direct controlled creature at attack.
Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also fix warrning double->float in recent commited code.
This commit is contained in:
parent
02b51fb976
commit
ab3de84cca
3 changed files with 11 additions and 10 deletions
|
|
@ -1776,7 +1776,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
}
|
||||
case 64385: // Spinning (from Unusual Compass)
|
||||
{
|
||||
m_caster->SetFacingTo(frand(0, M_PI*2), true);
|
||||
m_caster->SetFacingTo(frand(0, M_PI_F*2), true);
|
||||
return;
|
||||
}
|
||||
case 67019: // Flask of the North
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue