*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "precompiled.h"
|
#include "precompiled.h"
|
||||||
|
#include "Vehicle.h"
|
||||||
|
|
||||||
#define GCD_CAST 1
|
#define GCD_CAST 1
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user