ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/room_gen_spiral.C
(Generate patch)

Comparing deliantra/server/random_maps/room_gen_spiral.C (file contents):
Revision 1.29 by root, Wed Nov 16 23:42:02 2016 UTC vs.
Revision 1.30 by root, Sun Jan 29 02:47:05 2017 UTC

66 if (option == 0) 66 if (option == 0)
67 option = rmg_rndm (MAX_SPIRAL_OPT); 67 option = rmg_rndm (MAX_SPIRAL_OPT);
68 68
69 /* the order in which these are evaluated matters */ 69 /* the order in which these are evaluated matters */
70 70
71 /* the following two are mutually exclusive. 71 /* the following two are mutually exclusive.
72 pick one if they're both set. */ 72 pick one if they're both set. */
73 if ((option & REGULAR_SPIRAL) && (option & FIT_SPIRAL)) 73 if ((option & REGULAR_SPIRAL) && (option & FIT_SPIRAL))
74 { 74 {
75 /* unset REGULAR_SPIRAL half the time */ 75 /* unset REGULAR_SPIRAL half the time */
76 if (rmg_rndm (2) && (option & REGULAR_SPIRAL)) 76 if (rmg_rndm (2) && (option & REGULAR_SPIRAL))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines