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

This commit is contained in:
Allofich 2016-09-22 00:00:11 +09:00
parent 513f754529
commit 37cc4e9efe

View file

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