version 1.38 | | version 1.39 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.38 2003/02/21 07:55:37 mwedel Exp $"; | | * "$Id: skills.c,v 1.39 2003/03/07 07:33:14 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
"You had better pay for that before you write on it."); | | "You had better pay for that before you write on it."); |
return 0; | | return 0; |
} | | } |
switch(item->type) { | | switch(msgtype) { |
case SCROLL: | | case SCROLL: |
return write_scroll(pl,item); | | return write_scroll(pl,item); |
break; | | break; |
| | |
return strlen(msg); | | return strlen(msg); |
} | | } |
} | | } |
| | |
| | buf[0] = 0; |
if(!book_overflow(item->msg,msg,BOOK_BUF)) { /* add msg string to book */ | | if(!book_overflow(item->msg,msg,BOOK_BUF)) { /* add msg string to book */ |
if(item->msg) { | | if(item->msg) { |
strcpy(buf,item->msg); | | strcpy(buf,item->msg); |