version 1.51 | | version 1.52 |
---|
| | |
/* | | /* |
* static char *rcsid_skill_util_c = | | * static char *rcsid_skill_util_c = |
* "$Id: skill_util.c,v 1.51 2005/05/22 07:41:40 akirschbaum Exp $"; | | * "$Id: skill_util.c,v 1.52 2005/07/14 09:18:55 akirschbaum Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if (at->clone.type == SKILL) { | | if (at->clone.type == SKILL) { |
if (skill_names[at->clone.subtype] != NULL) { | | if (skill_names[at->clone.subtype] != NULL) { |
LOG(llevError, "init_skills: multiple skill using same subtype %d, %s, %s\n", | | LOG(llevError, "init_skills: multiple skill using same subtype %d, %s, %s\n", |
skill_names[at->clone.subtype], at->clone.skill); | | at->clone.subtype, skill_names[at->clone.subtype], at->clone.skill); |
} else { | | } else { |
skill_names[at->clone.subtype] = add_refcount(at->clone.skill); | | skill_names[at->clone.subtype] = add_refcount(at->clone.skill); |
} | | } |