summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-17 20:51:25 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-17 20:51:25 +0000
commit462883b7cb02a2f229d0c53afd179163725d50de (patch)
tree977bd95af592ab70b87a37342da5873ca8251d1f /src/map/party.c
parent3bb42dda4732f3288155725bd26da76822c10021 (diff)
downloadhercules-462883b7cb02a2f229d0c53afd179163725d50de.tar.gz
hercules-462883b7cb02a2f229d0c53afd179163725d50de.tar.bz2
hercules-462883b7cb02a2f229d0c53afd179163725d50de.tar.xz
hercules-462883b7cb02a2f229d0c53afd179163725d50de.zip
Removed battle_config.error_log as console_silent already handles this
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11751 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 7b1e3f1ab..66100784e 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -162,8 +162,7 @@ int party_check_member(struct party *p)
if(f){
sd->status.party_id=0;
- if(battle_config.error_log)
- ShowWarning("party: check_member %d[%s] is not member\n",sd->status.account_id,sd->status.name);
+ ShowWarning("party: check_member %d[%s] is not member\n",sd->status.account_id,sd->status.name);
}
}
}
@@ -343,8 +342,7 @@ int party_member_added(int party_id,int account_id,int char_id, int flag)
int i;
if(sd == NULL || sd->status.char_id != char_id){
if (flag == 0) {
- if(battle_config.error_log)
- ShowError("party: member added error %d is not online\n",account_id);
+ ShowError("party: member added error %d is not online\n",account_id);
intif_party_leave(party_id,account_id,char_id);
}
return 0;
@@ -353,8 +351,7 @@ int party_member_added(int party_id,int account_id,int char_id, int flag)
sd->party_invite_account=0;
if (!p) {
- if(battle_config.error_log)
- ShowError("party_member_added: party %d not found.\n",party_id);
+ ShowError("party_member_added: party %d not found.\n",party_id);
intif_party_leave(party_id,account_id,char_id);
return 0;
}
@@ -530,8 +527,7 @@ int party_recv_movemap(int party_id,int account_id,int char_id, unsigned short m
}
}
if(i==MAX_PARTY){
- if(battle_config.error_log)
- ShowError("party: not found member %d/%d on %d[%s]",account_id,char_id,party_id,p->party.name);
+ ShowError("party: not found member %d/%d on %d[%s]",account_id,char_id,party_id,p->party.name);
return 0;
}