fix (core) Remove not need operator || (#11425)

Since the mysterous why things evade in shallow water root issue was finally determined because of our shallow water calculations was wrong that was corrected by pr https://github.com/azerothcore/azerothcore-wotlk/pull/11419 we can now remove this operator
This commit is contained in:
acidmanifesto
2022-04-17 13:24:15 -04:00
committed by GitHub
parent f9a76d99d4
commit 93a8d4fb63

View File

@@ -3035,7 +3035,7 @@ bool Creature::SetSwim(bool enable)
*/
bool Creature::CanSwim() const
{
if (Unit::CanSwim() || (!Unit::CanSwim() && !CanFly()))
if (Unit::CanSwim())
return true;
if (IsPet())