increase offscreen distance
authorMatthias Braun <matze@braunis.de>
Mon, 24 May 2004 22:53:39 +0000 (22:53 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 24 May 2004 22:53:39 +0000 (22:53 +0000)
SVN-Revision: 1316

src/defines.h

index 121fe26..dd5b1a8 100644 (file)
@@ -92,8 +92,8 @@ enum DyingType {
 
 /* Size constraints: */
 
-#define X_OFFSCREEN_DISTANCE 280
-#define Y_OFFSCREEN_DISTANCE 240
+#define X_OFFSCREEN_DISTANCE screen->w*2
+#define Y_OFFSCREEN_DISTANCE screen->h*2
 
 #define LEVEL_WIDTH 375