From: Ricardo Cruz Date: Wed, 5 May 2004 12:03:50 +0000 (+0000) Subject: Just tuned the X_SPACE, so that Tux position in screen is exactly the same as before. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b79e9e08ff6758dcab2098abae4fa2c1cdf76358;p=supertux.git Just tuned the X_SPACE, so that Tux position in screen is exactly the same as before. Check and remove the TODO point, in case you agree. SVN-Revision: 991 --- diff --git a/src/world.cpp b/src/world.cpp index 00b075a4b..4564c01c4 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -311,7 +311,7 @@ World::action(double frame_ratio) // the space that it takes for the screen to start scrolling, regarding // screen bounds (in pixels) -#define X_SPACE 380 +#define X_SPACE (400-16) // the time it takes to move the camera (in ms) #define CHANGE_DIR_SCROLL_SPEED 2000