mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 18:39:40 +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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue