Some cleanups. (might break build for scripts as they are a WIP)
This commit is contained in:
@@ -330,7 +330,7 @@ namespace Scripts.Spells.DemonHunter
|
||||
SpellCastResult CheckCast()
|
||||
{
|
||||
Unit caster = GetCaster();
|
||||
if (caster.IsMounted() || caster.GetVehicleBase())
|
||||
if (caster.IsMounted() || caster.GetVehicleBase() != null)
|
||||
return SpellCastResult.DontReport;
|
||||
|
||||
if (!caster.IsFalling())
|
||||
|
||||
Reference in New Issue
Block a user