From: grumbel Date: Wed, 10 Mar 2010 08:25:20 +0000 (+0000) Subject: Reduced spawn distance for enemies to screen size (experimental change, if something... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8ad1c871b4319eb7f41b02fe448f047cd78d50c3;p=supertux.git 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 --- 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),