aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-31 18:07:47 +0200
committerEugene Sandulenko2013-12-31 18:07:47 +0200
commit16e510f78ca1cbc67924cf0521e7712fc51d94d0 (patch)
tree41fd19798780da7156f099cd1916e48504f914fa /engines
parentfa472d31185424c66b5687c2b8812efe2bd8fe8e (diff)
downloadscummvm-rg350-16e510f78ca1cbc67924cf0521e7712fc51d94d0.tar.gz
scummvm-rg350-16e510f78ca1cbc67924cf0521e7712fc51d94d0.tar.bz2
scummvm-rg350-16e510f78ca1cbc67924cf0521e7712fc51d94d0.zip
FULLPIPE: Remove redundant check. CID 1147505
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/scenes/scene14.cpp6
1 files changed, 2 insertions, 4 deletions
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