summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/sql/updates/db_world/2016_08_24_01.sql2
-rw-r--r--data/sql/updates/db_world/2016_08_26_00.sql3
-rw-r--r--src/game/Entities/Pet/Pet.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/data/sql/updates/db_world/2016_08_24_01.sql b/data/sql/updates/db_world/2016_08_24_01.sql
index 0bdfcf2e8e..dd0536526f 100644
--- a/data/sql/updates/db_world/2016_08_24_01.sql
+++ b/data/sql/updates/db_world/2016_08_24_01.sql
@@ -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');
diff --git a/data/sql/updates/db_world/2016_08_26_00.sql b/data/sql/updates/db_world/2016_08_26_00.sql
new file mode 100644
index 0000000000..0c610dbdec
--- /dev/null
+++ b/data/sql/updates/db_world/2016_08_26_00.sql
@@ -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');
diff --git a/src/game/Entities/Pet/Pet.cpp b/src/game/Entities/Pet/Pet.cpp
index a0f34e86df..d1209225f3 100644
--- a/src/game/Entities/Pet/Pet.cpp
+++ b/src/game/Entities/Pet/Pet.cpp
@@ -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());