fix(Scripts/Vehicles): The next player entering Salvaged Siege Engine… (#10987)

… should control turret if it's not occupied.
This commit is contained in:
UltraNix
2022-03-27 06:16:12 +02:00
committed by GitHub
parent e7299c6e36
commit df89bbafe4
4 changed files with 43 additions and 1 deletions

View File

@@ -177,6 +177,8 @@ public:
/// == Fields =======================================
virtual void PassengerBoarded(Unit* /*passenger*/, int8 /*seatId*/, bool /*apply*/) {}
virtual bool BeforeSpellClick(Unit* /*clicker*/) { return true; }
virtual void OnSpellClick(Unit* /*clicker*/, bool& /*result*/) { }
virtual bool CanSeeAlways(WorldObject const* /*obj*/) { return false; }