… | |
… | |
1071 | if (race) |
1071 | if (race) |
1072 | for (godlink *gl = first_god; gl; gl = gl->next) |
1072 | for (godlink *gl = first_god; gl; gl = gl->next) |
1073 | if (!strcasecmp (gl->arch->race, race)) |
1073 | if (!strcasecmp (gl->arch->race, race)) |
1074 | return gl->name; |
1074 | return gl->name; |
1075 | |
1075 | |
1076 | return shstr_null; |
1076 | return shstr_tmp (); |
1077 | } |
1077 | } |
1078 | |
1078 | |
1079 | /** |
1079 | /** |
1080 | * Changes the attributes of cone, smite, and ball spells as needed by the code. |
1080 | * Changes the attributes of cone, smite, and ball spells as needed by the code. |
1081 | * Returns false if there was no race to assign to the slaying field of the spell, but |
1081 | * Returns false if there was no race to assign to the slaying field of the spell, but |