fix(Core/Totems): Totems should not fall to the depth in water. (#7179)
* fix(Core/Totems): Totems should not fall to the depth in water. Fixed #6562 * chore(Core/Totem.cpp): add brackets Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
parent
32650b61ee
commit
cf5aeaea06
1 changed files with 4 additions and 1 deletions
|
|
@ -88,7 +88,10 @@ void Totem::InitSummon()
|
|||
GetOwner()->CastSpell(this, 6277, true);
|
||||
}
|
||||
|
||||
this->GetMotionMaster()->MoveFall();
|
||||
if (!IsInWater())
|
||||
{
|
||||
GetMotionMaster()->MoveFall();
|
||||
}
|
||||
}
|
||||
|
||||
void Totem::UnSummon(uint32 msTime)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue