mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 20:13:48 +00:00
fix(Core): Crashfix. (#12643)
This commit is contained in:
@@ -1035,11 +1035,11 @@ struct EntryPointData
|
||||
}
|
||||
|
||||
uint32 mountSpell{0};
|
||||
std::vector<uint32> taxiPath;
|
||||
std::array<uint32, 2> taxiPath;
|
||||
WorldLocation joinPos;
|
||||
|
||||
void ClearTaxiPath() { taxiPath.clear(); }
|
||||
[[nodiscard]] bool HasTaxiPath() const { return !taxiPath.empty(); }
|
||||
void ClearTaxiPath() { taxiPath.fill(0); }
|
||||
[[nodiscard]] bool HasTaxiPath() const { return taxiPath[0] && taxiPath[1]; }
|
||||
};
|
||||
|
||||
class Player : public Unit, public GridObject<Player>
|
||||
|
||||
Reference in New Issue
Block a user