From: Ingo Ruhnke 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=fbfe2d469988518ba7e58b7230a3ce68e9ca5da5;p=supertux.git Reduced spawn distance for enemies to screen size (experimental change, if something breaks, complain) SVN-Revision: 6591 --- 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),