forked from mirror/openmw-tes3mp
Don't play area vfx for 0-area touch spells that hit non-actors
This commit is contained in:
parent
513f754529
commit
37cc4e9efe
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue