From 531bd3c9086b80efe374d7c2d0cb72cba41206c1 Mon Sep 17 00:00:00 2001 From: "ericgfwong@hotmail.com" Date: Thu, 19 Jul 2012 08:14:49 +0000 Subject: [PATCH] Fixed Issue 664 -Meteors were getting deleted as soon as they spawned as they were spawning out of bounds git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4111 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/gamemodes/meteor/meteors.dm | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/code/game/gamemodes/meteor/meteors.dm b/code/game/gamemodes/meteor/meteors.dm index 26a4b9cbead..b7be37d0440 100644 --- a/code/game/gamemodes/meteor/meteors.dm +++ b/code/game/gamemodes/meteor/meteors.dm @@ -36,25 +36,25 @@ do switch(pick(1,2,3,4)) if(1) //NORTH - starty = world.maxy-3 - startx = rand(1, world.maxx-1) - endy = 1 - endx = rand(1, world.maxx-1) + starty = world.maxy-8 + startx = rand(8, world.maxx-8) + endy = 8 + endx = rand(1, world.maxx-8) if(2) //EAST - starty = rand(1,world.maxy-1) - startx = world.maxx-3 - endy = rand(1, world.maxy-1) - endx = 1 + starty = rand(1,world.maxy-8) + startx = world.maxx-8 + endy = rand(1, world.maxy-8) + endx = 8 if(3) //SOUTH - starty = 3 - startx = rand(1, world.maxx-1) - endy = world.maxy-1 - endx = rand(1, world.maxx-1) + starty = 8 + startx = rand(1, world.maxx-8) + endy = world.maxy-8 + endx = rand(1, world.maxx-8) if(4) //WEST - starty = rand(1, world.maxy-1) - startx = 3 - endy = rand(1,world.maxy-1) - endx = world.maxx-1 + starty = rand(1, world.maxy-8) + startx = 8 + endy = rand(1,world.maxy-8) + endx = world.maxx-8 pickedstart = locate(startx, starty, 1) pickedgoal = locate(endx, endy, 1)