mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user