From 16e510f78ca1cbc67924cf0521e7712fc51d94d0 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 31 Dec 2013 18:07:47 +0200 Subject: FULLPIPE: Remove redundant check. CID 1147505 --- engines/fullpipe/scenes/scene14.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/fullpipe/scenes/scene14.cpp b/engines/fullpipe/scenes/scene14.cpp index 385f926e30..e596c2118c 100644 --- a/engines/fullpipe/scenes/scene14.cpp +++ b/engines/fullpipe/scenes/scene14.cpp @@ -56,10 +56,8 @@ void scene14_initScene(Scene *sc) { StaticANIObject *ball = sc->getStaticANIObject1ById(ANI_BALL14, -1); - if (ball) { - ball->_flags &= 0xFFFB; - g_vars->scene14_var11.push_back(ball); - } + ball->_flags &= 0xFFFB; + g_vars->scene14_var11.push_back(ball); for (uint i = 0; i < 3; i++) { ball = new StaticANIObject(ball); // create a copy -- cgit v1.2.3