version 1.35 | | version 1.36 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.35 2003/09/12 01:37:56 crowbert Exp $"; | | * "$Id: c_misc.c,v 1.36 2003/09/13 05:02:08 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
| | |
| | |
int command_spell_reset(object *op, char *params) | | |
{ | | |
init_spell_param(); | | |
return 1; | | |
} | | |
| | |
int command_motd(object *op, char *params) | | int command_motd(object *op, char *params) |
{ | | { |
display_motd(op); | | display_motd(op); |
| | |
sprintf(errmsg,"%4d animations: %8d",anims,i=(anims*sizeof(Fontindex))); | | sprintf(errmsg,"%4d animations: %8d",anims,i=(anims*sizeof(Fontindex))); |
new_draw_info(NDI_UNIQUE, 0,op,errmsg); | | new_draw_info(NDI_UNIQUE, 0,op,errmsg); |
sum_alloc+=i; sum_used+=i; | | sum_alloc+=i; sum_used+=i; |
sprintf(errmsg,"%4d spells: %8d",NROFREALSPELLS, | | |
i=(NROFREALSPELLS*sizeof(spell))); | | |
new_draw_info(NDI_UNIQUE, 0,op,errmsg); | | |
sum_alloc+=i; sum_used+=i; | | |
sprintf(errmsg,"%4d treasurelists %8d",tlnr,i=(tlnr*sizeof(treasurelist))); | | sprintf(errmsg,"%4d treasurelists %8d",tlnr,i=(tlnr*sizeof(treasurelist))); |
new_draw_info(NDI_UNIQUE, 0,op,errmsg); | | new_draw_info(NDI_UNIQUE, 0,op,errmsg); |
sum_alloc+=i; sum_used+=i; | | sum_alloc+=i; sum_used+=i; |