Don't play area vfx for 0-area touch spells that hit non-actors

coverity_scan^2
Allofich 8 years ago
parent 513f754529
commit 37cc4e9efe

@ -3176,6 +3176,7 @@ namespace MWWorld
if (effectIt->mArea <= 0)
{
if (effectIt->mRange == ESM::RT_Target)
mRendering->spawnEffect("meshes\\" + areaStatic->mModel, texture, origin, 1.0f);
continue;
}

Loading…
Cancel
Save