mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Fix] Boats should never get FixZ'd (#2246)
* Boats should never get FixZ'd * Use member variable to avoid repetitive checks * Resolve comments from review * Fix return type
This commit is contained in:
@@ -1075,7 +1075,7 @@ void MobMovementManager::UpdatePath(Mob *who, float x, float y, float z, MobMove
|
||||
return;
|
||||
}
|
||||
|
||||
if (who->IsBoat()) {
|
||||
if (who->GetIsBoat()) {
|
||||
UpdatePathBoat(who, x, y, z, mob_movement_mode);
|
||||
}
|
||||
else if (who->IsUnderwaterOnly()) {
|
||||
|
||||
Reference in New Issue
Block a user