version 1.62 | | version 1.63 |
---|
| | |
/* | | /* |
* static char *rcsid_item_c = | | * static char *rcsid_item_c = |
* "$Id: item.c,v 1.62 2006/05/21 12:27:46 akirschbaum Exp $"; | | * "$Id: item.c,v 1.63 2006/06/05 06:28:55 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
Copyright (C) 2002 Mark Wedel & Crossfire Development Team | | Copyright (C) 2006 Mark Wedel & Crossfire Development Team |
Copyright (C) 1992 Frank Tore Johansen | | Copyright (C) 1992 Frank Tore Johansen |
| | |
This program is free software; you can redistribute it and/or modify | | This program is free software; you can redistribute it and/or modify |
| | |
} | | } |
} | | } |
if(op->stats.exp) | | if(op->stats.exp) |
sprintf(buf+strlen(buf), "(speed %+lld)", op->stats.exp); | | sprintf(buf+strlen(buf), "(speed %+" FMT64 ")", op->stats.exp); |
if(op->stats.wc) | | if(op->stats.wc) |
sprintf(buf+strlen(buf), "(wc%+d)", op->stats.wc); | | sprintf(buf+strlen(buf), "(wc%+d)", op->stats.wc); |
if(op->stats.dam) | | if(op->stats.dam) |
| | |
} | | } |
| | |
if(op->stats.exp) { | | if(op->stats.exp) { |
sprintf(buf,"(speed %+lld)",op->stats.exp); | | sprintf(buf,"(speed %+" FMT64 ")",op->stats.exp); |
strcat(retbuf,buf); | | strcat(retbuf,buf); |
} | | } |
| | |