… | … | ||
---|---|---|---|
129 | tx++; /* set up for next layer. */ | 129 | tx++; /* set up for next layer. */ |
130 | } | 130 | } |
131 | 131 | ||
132 | /* place the exits. */ | 132 | /* place the exits. */ |
133 | 133 | ||
134 | if (RANDOM () % 2) | 134 | if (rndm (2)) |
135 | { | 135 | { |
136 | maze[cx][cy] = '>'; | 136 | maze[cx][cy] = '>'; |
137 | maze[xsize - 2][1] = '<'; | 137 | maze[xsize - 2][1] = '<'; |
138 | } | 138 | } |
139 | else | 139 | else |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |