From 10f90f3f6687362ef763f8fecbc8d263f5a23c4b Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Sat, 22 May 2004 18:42:40 +0000 Subject: [PATCH] Don't remove badguys, just because they are out of the screen borders. SVN-Revision: 1299 --- src/badguy.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/badguy.cpp b/src/badguy.cpp index 2e9f0f998..0bd133741 100644 --- a/src/badguy.cpp +++ b/src/badguy.cpp @@ -758,13 +758,6 @@ BadGuy::action(float elapsed_time) float scroll_y = World::current()->displaymanager .get_viewport().get_translation().y; - // Remove if it's far off the screen: - if (base.x < scroll_x - X_OFFSCREEN_DISTANCE) - { - remove_me(); - return; - } - // BadGuy fall below the ground if (base.y > World::current()->get_level()->height * 32) { remove_me(); -- 2.11.0