version 1.52 | | version 1.53 |
---|
| | |
/* | | /* |
* static char *rcsid_gods_c = | | * static char *rcsid_gods_c = |
* "$Id: gods.c,v 1.52 2005/08/14 19:06:19 akirschbaum Exp $"; | | * "$Id: gods.c,v 1.53 2005/09/25 09:47:23 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* Returns the id of specified god. | | * Returns the id of specified god. |
*/ | | */ |
int lookup_god_by_name(const char *name) { | | int lookup_god_by_name(const char *name) { |
int godnr=-1,nmlen = strlen(name); | | int godnr=-1; |
| | size_t nmlen = strlen(name); |
| | |
if(name && strcmp(name,"none")) { | | if(name && strcmp(name,"none")) { |
godlink *gl; | | godlink *gl; |