… | … | ||
---|---|---|---|
108 | ++tx; /* set up for next layer. */ | 108 | ++tx; /* set up for next layer. */ |
109 | } | 109 | } |
110 | 110 | ||
111 | /* place the exits. */ | 111 | /* place the exits. */ |
112 | 112 | ||
113 | if (rndm (2)) | 113 | if (rmg_rndm (2)) |
114 | { | 114 | { |
115 | maze[cx][cy] = '>'; | 115 | maze[cx][cy] = '>'; |
116 | maze[xsize - 2][1] = '<'; | 116 | maze[xsize - 2][1] = '<'; |
117 | } | 117 | } |
118 | else | 118 | else |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |