Index: pc.c =================================================================== --- pc.c (revision 17088) +++ pc.c (working copy) @@ -2611,7 +2611,7 @@ break; #endif default: - ShowWarning("pc_bonus: unknown type %d %d !\n",type,val); + ShowWarning("pc_bonus: unknown type %d %d (char_id=%d)!\n",type,val,sd->status.char_id); break; } return 0; @@ -3180,7 +3180,7 @@ } break; default: - ShowWarning("pc_bonus2: unknown type %d %d %d!\n",type,type2,val); + ShowWarning("pc_bonus2: unknown type %d %d %d (char_id=%d)!\n",type,type2,val,sd->status.char_id); break; } return 0; @@ -3307,7 +3307,7 @@ break; default: - ShowWarning("pc_bonus3: unknown type %d %d %d %d!\n",type,type2,type3,val); + ShowWarning("pc_bonus3: unknown type %d %d %d %d (char_id=%d)!\n",type,type2,type3,val,sd->status.char_id); break; } @@ -3349,7 +3349,7 @@ break; default: - ShowWarning("pc_bonus4: unknown type %d %d %d %d %d!\n",type,type2,type3,type4,val); + ShowWarning("pc_bonus4: unknown type %d %d %d %d %d (char_id=%d)!\n",type,type2,type3,type4,val,sd->status.char_id); break; }