diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-06 14:07:21 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-06 14:07:21 +0000 |
commit | b1b0860d1ca7e0f9ddb57756be9af11d9557d555 (patch) | |
tree | 54847788efa9f24a2988e00954371adcbd2235ed /src/map/party.c | |
parent | ef20f0c5e0fc581552ff26c50fd84e44d60465a6 (diff) | |
download | hercules-b1b0860d1ca7e0f9ddb57756be9af11d9557d555.tar.gz hercules-b1b0860d1ca7e0f9ddb57756be9af11d9557d555.tar.bz2 hercules-b1b0860d1ca7e0f9ddb57756be9af11d9557d555.tar.xz hercules-b1b0860d1ca7e0f9ddb57756be9af11d9557d555.zip |
- Fixed the auto-direction code which makes self-skills with ground units become a ground spell using the wrong function for said check. In short: fixed GrandCross and similar skills.
- FogWall will now also affect the caster.
- Some cleanup of map.h.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7548 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/party.c b/src/map/party.c index 474322966..4afb69411 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -203,7 +203,6 @@ int party_recv_info(struct party *sp) if (!p->party.party_id) //party just received.
party_check_member(sp);
memcpy(&p->party,sp,sizeof(struct party));
- p->count = 0;
memset(&p->state, 0, sizeof(p->state));
memset(&p->data, 0, sizeof(p->data));
for(i=0;i<MAX_PARTY;i++){
@@ -214,7 +213,6 @@ int party_recv_info(struct party *sp) && sd->status.char_id == p->party.member[i].char_id
&& !sd->state.waitingdisconnect)
p->data[i].sd = sd;
- p->count++;
}
party_check_state(p);
for(i=0;i<MAX_PARTY;i++){
@@ -389,7 +387,6 @@ int party_member_leaved(int party_id,int account_id,int char_id) clif_party_leaved(p,sd,account_id,p->party.member[i].name,0x00);
memset(&p->party.member[i], 0, sizeof(p->party.member[0]));
memset(&p->data[i], 0, sizeof(p->data[0]));
- p->count--;
break;
}
}
|