mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Add forgotten changes from a49f6f03ac
This commit is contained in:
@@ -37,7 +37,10 @@ struct ElunaCreatureAI : ScriptedAI
|
||||
#endif
|
||||
{
|
||||
if (justSpawned)
|
||||
{
|
||||
justSpawned = false;
|
||||
JustRespawned();
|
||||
}
|
||||
|
||||
if (!sEluna->UpdateAI(me, diff))
|
||||
{
|
||||
|
||||
@@ -279,9 +279,7 @@ ElunaRegister<Unit> UnitMethods[] =
|
||||
{ "GetVehicleKit", &LuaUnit::GetVehicleKit }, // :GetVehicleKit() - Gets unit's Vehicle kit if the unit is a vehicle
|
||||
// {"GetVehicle", &LuaUnit::GetVehicle}, // :GetVehicle() - Gets the Vehicle kit of the vehicle the unit is on
|
||||
#endif
|
||||
#ifdef MANGOS
|
||||
{ "GetMovementType", &LuaUnit::GetMovementType },
|
||||
#endif
|
||||
|
||||
// Setters
|
||||
{ "SetFaction", &LuaUnit::SetFaction }, // :SetFaction(factionId) - Sets the unit's faction
|
||||
|
||||
Reference in New Issue
Block a user