From 8ad1c871b4319eb7f41b02fe448f047cd78d50c3 Mon Sep 17 00:00:00 2001 From: grumbel Date: Wed, 10 Mar 2010 08:25:20 +0000 Subject: [PATCH] Reduced spawn distance for enemies to screen size (experimental change, if something breaks, complain) git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6591 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- src/badguy/badguy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/badguy/badguy.cpp b/src/badguy/badguy.cpp index b5d895f35..46c0d70d9 100644 --- a/src/badguy/badguy.cpp +++ b/src/badguy/badguy.cpp @@ -29,8 +29,8 @@ static const float SQUISH_TIME = 2; -static const float X_OFFSCREEN_DISTANCE = 1600; -static const float Y_OFFSCREEN_DISTANCE = 1200; +static const float X_OFFSCREEN_DISTANCE = 1280; +static const float Y_OFFSCREEN_DISTANCE = 800; BadGuy::BadGuy(const Vector& pos, const std::string& sprite_name, int layer) : MovingSprite(pos, sprite_name, layer, COLGROUP_DISABLED), -- 2.11.0