version 1.90 | | version 1.91 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.90 2003/10/14 06:54:47 mwedel Exp $"; | | * "$Id: apply.c,v 1.91 2003/10/24 20:02:30 ryo_saeba Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if (!spell) { | | if (!spell) { |
LOG(llevError,"apply_spellbook: Book %s has no spell in it!\n", tmp->name); | | LOG(llevError,"apply_spellbook: Book %s has no spell in it!\n", tmp->name); |
new_draw_info(NDI_UNIQUE, 0,op,"The spellbook symbols make no sense."); | | new_draw_info(NDI_UNIQUE, 0,op,"The spellbook symbols make no sense."); |
| | return; |
} | | } |
if (spell->level > (skop->level+10)) { | | if (spell->level > (skop->level+10)) { |
new_draw_info(NDI_UNIQUE, 0,op,"You are unable to decipher the strange symbols."); | | new_draw_info(NDI_UNIQUE, 0,op,"You are unable to decipher the strange symbols."); |