[gnome-games] Removed too much in previous commit



commit dcb949adf8ceb98516a6146fa76791d12ef12910
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Tue Aug 23 18:49:57 2011 +0200

    Removed too much in previous commit

 gnobots2/game.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gnobots2/game.c b/gnobots2/game.c
index 94bba80..4134ccb 100644
--- a/gnobots2/game.c
+++ b/gnobots2/game.c
@@ -1244,6 +1244,9 @@ safe_teleport (void)
     }
   }
 
+  xp = rand () % GAME_WIDTH;
+  yp = rand () % GAME_HEIGHT;
+
   while (1) {
 
     if ((temp_arena[xp][yp] == OBJECT_NONE) && check_safe (xp, yp)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]