aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/1556_characters_ahbot.sql3
-rw-r--r--src/game/Spell.cpp2
2 files changed, 1 insertions, 4 deletions
diff --git a/sql/updates/1556_characters_ahbot.sql b/sql/updates/1556_characters_ahbot.sql
deleted file mode 100644
index 85c0b14bac4..00000000000
--- a/sql/updates/1556_characters_ahbot.sql
+++ /dev/null
@@ -1,3 +0,0 @@
-ALTER TABLE `auctionhousebot`
- DROP COLUMN `minTime`,
- DROP COLUMN `maxTime`;
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 8ca1dc6f82a..e861635281e 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2561,7 +2561,7 @@ void Spell::cast(bool skipCheck)
if(m_targets.getUnitTarget())
{
// three check: prepare, cast (m_casttime > 0), hit (delayed)
- if(m_casttime && m_targets.getUnitTarget()->isAlive() && !m_caster->canSeeOrDetect(m_targets.getUnitTarget(), true)))
+ if(m_casttime && m_targets.getUnitTarget()->isAlive() && !m_caster->canSeeOrDetect(m_targets.getUnitTarget(), true))
{
cancel();
return;