version 1.60 | | version 1.61 |
---|
| | |
/* | | /* |
* static char *rcsid_living_c = | | * static char *rcsid_living_c = |
* "$Id: living.c,v 1.60 2004/02/27 23:00:26 ryo_saeba Exp $"; | | * "$Id: living.c,v 1.61 2004/03/26 21:59:26 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
void change_exp(object *op, sint64 exp, char *skill_name, int flag) { | | void change_exp(object *op, sint64 exp, char *skill_name, int flag) { |
| | |
#ifdef EXP_DEBUG | | #ifdef EXP_DEBUG |
LOG(llevDebug,"chnage_exp() called for %s, exp = %lld\n",query_name(op),exp); | | #ifndef WIN32 |
| | LOG(llevDebug,"change_exp() called for %s, exp = %lld\n",query_name(op),exp); |
| | #else |
| | LOG(llevDebug,"change_exp() called for %s, exp = %I64d\n",query_name(op),exp); |
| | #endif |
#endif | | #endif |
| | |
/* safety */ | | /* safety */ |
if(!op) { | | if(!op) { |
LOG(llevError,"add_exp() called for null object!\n"); | | LOG(llevError,"change_exp() called for null object!\n"); |
return; | | return; |
} | | } |
| | |