From c080e504e4d74027b985b1ed675c172c083cea76 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 27 Dec 2012 21:23:46 -0800 Subject: Use cxxstdio --- src/map/party.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/map/party.cpp') diff --git a/src/map/party.cpp b/src/map/party.cpp index 46374d3..9b9470c 100644 --- a/src/map/party.cpp +++ b/src/map/party.cpp @@ -97,7 +97,7 @@ int party_created(int account_id, int fail, int party_id, const char *name) if ((p = (struct party *)numdb_search(party_db, party_id)) != NULL) { - printf("party_created(): ID already exists!\n"); + PRINTF("party_created(): ID already exists!\n"); exit(1); } @@ -152,7 +152,7 @@ int party_check_member(struct party *p) { sd->status.party_id = 0; if (battle_config.error_log) - printf("party: check_member %d[%s] is not member\n", + PRINTF("party: check_member %d[%s] is not member\n", sd->status.account_id, sd->status.name); } } @@ -327,7 +327,7 @@ int party_member_added(int party_id, int account_id, int flag) if (flag == 0) { if (battle_config.error_log) - printf("party: member added error %d is not online\n", + PRINTF("party: member added error %d is not online\n", account_id); intif_party_leave(party_id, account_id); // キャラ側に登録できなかったため脱退要求を出す } @@ -339,7 +339,7 @@ int party_member_added(int party_id, int account_id, int flag) if (p == NULL) { - printf("party_member_added: party %d not found.\n", party_id); + PRINTF("party_member_added: party %d not found.\n", party_id); intif_party_leave(party_id, account_id); return 0; } @@ -509,7 +509,7 @@ int party_recv_movemap(int party_id, int account_id, const char *mapname, int on struct party_member *m = &p->member[i]; if (m == NULL) { - printf("party_recv_movemap nullpo?\n"); + PRINTF("party_recv_movemap nullpo?\n"); return 0; } if (m->account_id == account_id) @@ -523,7 +523,7 @@ int party_recv_movemap(int party_id, int account_id, const char *mapname, int on if (i == MAX_PARTY) { if (battle_config.error_log) - printf("party: not found member %d on %d[%s]", account_id, + PRINTF("party: not found member %d on %d[%s]", account_id, party_id, p->name); return 0; } -- cgit v1.2.3-60-g2f50