From 52c7195a8ee91f95ef134d9798a47ea313df16c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 11 Oct 2013 17:35:24 +0300 Subject: Second part of checks from Parasoft C++ Test. --- src/being/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being') diff --git a/src/being/being.cpp b/src/being/being.cpp index 03ed2ad89..7758abd4d 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -1197,7 +1197,7 @@ void Being::setAction(const Action &action, const int attackId) rotation = 270; break; } - if (Particle::enabled && effectManager && effectId >= 0) + if (effectManager && effectId >= 0) effectManager->trigger(effectId, this, rotation); } } -- cgit v1.2.3-70-g09d2