--- deliantra/server/random_maps/snake.C 2008/04/15 03:00:24 1.9 +++ deliantra/server/random_maps/snake.C 2008/05/04 14:12:37 1.10 @@ -32,9 +32,9 @@ /* decide snake orientation--vertical or horizontal , and make the walls and place the doors. */ - if (rndm (2)) + if (rmg_rndm (2)) { /* vertical orientation */ - int n_walls = rndm (xsize - 5) / 3 + 1; + int n_walls = rmg_rndm (xsize - 5) / 3 + 1; int spacing = xsize / (n_walls + 1); int orientation = 1; @@ -60,7 +60,7 @@ } else { /* horizontal orientation */ - int n_walls = rndm (ysize - 5) / 3 + 1; + int n_walls = rmg_rndm (ysize - 5) / 3 + 1; int spacing = ysize / (n_walls + 1); int orientation = 1; @@ -86,7 +86,7 @@ } /* place the exit up/down */ - if (rndm (2)) + if (rmg_rndm (2)) { maze[1][1] = '<'; maze[xsize - 2][ysize - 2] = '>';