viewing paste Unknown #5009 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
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;
    }
Viewed 623 times, submitted by clydelion.