aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-07 11:59:50 -0500
committermegamage <none@none>2009-06-07 11:59:50 -0500
commit3f81e97ff58a9013fe55f1060f48e3583015e72f (patch)
tree32a08619c157c38a6e8ca26ff3e4c401b50a540b
parent79b76f10cd7a0b5e299b7e0ff3d01cdd727b893d (diff)
*Remove a tc1 sql.
--HG-- branch : trunk
-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;