mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
Don't play area vfx for 0-area touch spells that hit non-actors
This commit is contained in:
parent
513f754529
commit
37cc4e9efe
@ -3176,7 +3176,8 @@ namespace MWWorld
|
|||||||
|
|
||||||
if (effectIt->mArea <= 0)
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user