version 1.25 | | version 1.26 |
---|
| | |
/* | | /* |
* static char *rcsid_gods_c = | | * static char *rcsid_gods_c = |
* "$Id: gods.c,v 1.25 2001/10/14 07:57:14 gros Exp $"; | | * "$Id: gods.c,v 1.26 2001/10/15 21:12:08 garbled Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if(!op->title) { | | if(!op->title) { |
godlink *gl=first_god; | | godlink *gl=first_god; |
| | |
godnr = (RANDOM()%gl->id) + 1; | | godnr = rndm(1, gl->id); |
while(gl) { | | while(gl) { |
if(gl->id==godnr) break; | | if(gl->id==godnr) break; |
gl=gl->next; | | gl=gl->next; |