*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-15 12:34:28 -05:00
parent 9055f25030
commit 89e20ff999
3 changed files with 3 additions and 2 deletions
@@ -17,6 +17,7 @@
*/ */
#include "precompiled.h" #include "precompiled.h"
#include "Vehicle.h"
#define GCD_CAST 1 #define GCD_CAST 1
+1 -1
View File
@@ -1208,7 +1208,7 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask)
if(m_spellInfo->speed > 0.0f && unit == m_targets.getUnitTarget() if(m_spellInfo->speed > 0.0f && unit == m_targets.getUnitTarget()
&& (unit->HasAuraType(SPELL_AURA_MOD_INVISIBILITY) && (unit->HasAuraType(SPELL_AURA_MOD_INVISIBILITY)
|| unit->HasAuraTypeWithFamilyFlags(SPELL_AURA_MOD_STEALTH, SPELLFAMILY_ROGUE, SPELLFAMILYFLAG_ROGUE_VANISH)) || unit->HasAuraTypeWithFamilyFlags(SPELL_AURA_MOD_STEALTH, SPELLFAMILY_ROGUE, SPELLFAMILYFLAG_ROGUE_VANISH))
&& !unit->isVisibleForOrDetect(m_caster, true)) && !m_caster->canSeeOrDetect(unit, true))
{ {
// that was causing CombatLog errors // that was causing CombatLog errors
// return SPELL_MISS_EVADE; // return SPELL_MISS_EVADE;
+1 -1
View File
@@ -35,7 +35,7 @@ struct VehicleSeat
typedef std::map<int8, VehicleSeat> SeatMap; typedef std::map<int8, VehicleSeat> SeatMap;
class Vehicle : public Creature class TRINITY_DLL_SPEC Vehicle : public Creature
{ {
public: public:
explicit Vehicle(); explicit Vehicle();