version 1.31 | | version 1.32 |
---|
| | |
/* | | /* |
* static char *rcsid_random_map_c = | | * static char *rcsid_random_map_c = |
* "$Id: random_map.c,v 1.31 2003/03/03 05:13:08 mwedel Exp $"; | | * "$Id: random_map.c,v 1.32 2003/03/03 08:09:23 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
strcat(buf,small_buf); | | strcat(buf,small_buf); |
} | | } |
if(RP->random_seed) { | | if(RP->random_seed) { |
sprintf(small_buf,"random_seed %d\n",RP->random_seed); | | /* Add one so that the next map is a bit different */ |
| | sprintf(small_buf,"random_seed %d\n",RP->random_seed + 1); |
strcat(buf,small_buf); | | strcat(buf,small_buf); |
} | | } |
| | |
| | |
strcat(buf,small_buf); | | strcat(buf,small_buf); |
} | | } |
if(random_seed_n) { | | if(random_seed_n) { |
sprintf(small_buf,"random_seed %d\n",random_seed_n); | | /* Add one so that the next map is a bit different */ |
| | sprintf(small_buf,"random_seed %d\n",random_seed_n + 1); |
strcat(buf,small_buf); | | strcat(buf,small_buf); |
} | | } |
| | |