Misc: cleaning

This commit is contained in:
ShinDarth
2016-08-26 16:31:57 +02:00
parent f82c3fd94c
commit 7c081ad303
3 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,3 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_24_00 2016_08_24_01 bit;
UPDATE command SET security = 0 WHERE name = 'gm ingame';
DELETE FROM command WHERE name IN ('evade', 'chatmessage');

View File

@@ -0,0 +1,3 @@
ALTER TABLE version_db_database CHANGE COLUMN 2016_08_25_00 2016_08_26_00 bit;
DELETE FROM command WHERE name IN ('npc evade', 'debug send chatmessage');

View File

@@ -979,7 +979,7 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
{
// 100% energy after summon
SetPower(POWER_ENERGY, GetMaxPower(POWER_ENERGY));
// xinef: fixes orc death knight command racial
if (m_owner->getRace() == RACE_ORC)
CastSpell(this, SPELL_ORC_RACIAL_COMMAND, true, NULL, NULL, m_owner->GetGUID());