mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +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:
+3
-1
@@ -512,6 +512,8 @@ Mob::Mob(
|
||||
mob_close_scan_timer.Trigger();
|
||||
|
||||
SetCanOpenDoors(true);
|
||||
|
||||
is_boat = IsBoat();
|
||||
}
|
||||
|
||||
Mob::~Mob()
|
||||
@@ -3741,7 +3743,7 @@ bool Mob::HateSummon() {
|
||||
|
||||
void Mob::FaceTarget(Mob* mob_to_face /*= 0*/) {
|
||||
|
||||
if (IsBoat()) {
|
||||
if (GetIsBoat()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user