mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
fix (core): inhabit CanSwim revert (#11475)
This commit is contained in:
@@ -3035,7 +3035,7 @@ bool Creature::SetSwim(bool enable)
|
||||
*/
|
||||
bool Creature::CanSwim() const
|
||||
{
|
||||
if (Unit::CanSwim())
|
||||
if (Unit::CanSwim() || (!Unit::CanSwim() && !CanFly()))
|
||||
return true;
|
||||
|
||||
if (IsPet())
|
||||
|
||||
Reference in New Issue
Block a user