From 4086bc4848b1079af306779ee668578ccd102495 Mon Sep 17 00:00:00 2001 From: MiroslavR Date: Mon, 6 Oct 2014 18:33:41 +0200 Subject: [PATCH] Do not spawn blood vfx on player if hit fader is enabled --- apps/openmw/mwworld/worldimp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index 69651a630..b112c812a 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -2936,6 +2936,9 @@ namespace MWWorld void World::spawnBloodEffect(const Ptr &ptr, const Vector3 &worldPosition) { + if (ptr.getRefData().getHandle() == "player" && Settings::Manager::getBool("hit fader", "GUI")) + return; + int type = ptr.getClass().getBloodTexture(ptr); std::string texture; switch (type)