[Super-tux-commit] supertux/src badguy.cpp,1.85,1.86
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-05-22 18:42:48
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14153/src Modified Files: badguy.cpp Log Message: Don't remove badguys, just because they are out of the screen borders. Index: badguy.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/badguy.cpp,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -r1.85 -r1.86 --- badguy.cpp 22 May 2004 17:55:39 -0000 1.85 +++ badguy.cpp 22 May 2004 18:42:40 -0000 1.86 @@ -758,13 +758,6 @@ 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(); |