Core/Misc: Removed more unused eventAI stuff
This commit is contained in:
1 parent
b375106ed1
commit
1bb4cf3ab6
4 files changed
+6
-4
No files matched your search
@@ -0,0 +1 @@
|
||||
DELETE FROM `rbac_permissions` WHERE `id` IN (631,632);
|
||||
@@ -0,0 +1 @@
|
||||
DELETE FROM `command` WHERE `permission` WHERE IN (631,632);
|
||||
@@ -330,7 +330,7 @@ void VehicleAI::CheckConditions(const uint32 diff)
|
||||
{
|
||||
if (!conditions.empty())
|
||||
{
|
||||
if( Vehicle* vehicleKit = me->GetVehicleKit())
|
||||
if (Vehicle* vehicleKit = me->GetVehicleKit())
|
||||
for (SeatMap::iterator itr = vehicleKit->Seats.begin(); itr != vehicleKit->Seats.end(); ++itr)
|
||||
if (Unit* passenger = ObjectAccessor::GetUnit(*me, itr->second.Passenger.Guid))
|
||||
{
|
||||
|
||||
@@ -517,7 +517,7 @@ enum RBACPermissions
|
||||
RBAC_PERM_COMMAND_RELOAD_ALL = 611,
|
||||
RBAC_PERM_COMMAND_RELOAD_ALL_ACHIEVEMENT = 612,
|
||||
RBAC_PERM_COMMAND_RELOAD_ALL_AREA = 613,
|
||||
RBAC_PERM_UNSUDED_614 = 614,
|
||||
RBAC_PERM_UNUSDED_614 = 614,
|
||||
RBAC_PERM_COMMAND_RELOAD_ALL_GOSSIP = 615,
|
||||
RBAC_PERM_COMMAND_RELOAD_ALL_ITEM = 616,
|
||||
RBAC_PERM_COMMAND_RELOAD_ALL_LOCALES = 617,
|
||||
@@ -534,8 +534,8 @@ enum RBACPermissions
|
||||
RBAC_PERM_COMMAND_RELOAD_COMMAND = 628,
|
||||
RBAC_PERM_COMMAND_RELOAD_CONDITIONS = 629,
|
||||
RBAC_PERM_COMMAND_RELOAD_CONFIG = 630,
|
||||
RBAC_PERM_COMMAND_RELOAD_CREATURE_AI_SCRIPTS = 631,
|
||||
RBAC_PERM_COMMAND_RELOAD_CREATURE_AI_TEXTS = 632,
|
||||
RBAC_PERM_UNUSED_631 = 631,
|
||||
RBAC_PERM_UNUSED_632 = 632,
|
||||
RBAC_PERM_COMMAND_RELOAD_CREATURE_LINKED_RESPAWN = 633,
|
||||
RBAC_PERM_COMMAND_RELOAD_CREATURE_LOOT_TEMPLATE = 634,
|
||||
RBAC_PERM_COMMAND_RELOAD_CREATURE_ONKILL_REPUTATION = 635,
|
||||
|
||||
Reference in new issue
Block a user