diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-01 18:16:09 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-01 18:16:09 +0000 |
commit | 2f3928c61a4b13eeb29a0a66802b7d334f319af3 (patch) | |
tree | 4ee808ecf0be9f63f81f220b34f9b1493d219c1e /src/map/party.c | |
parent | 78cfbc99e7ecfdc31687009fe33e551b5c852110 (diff) | |
download | hercules-2f3928c61a4b13eeb29a0a66802b7d334f319af3.tar.gz hercules-2f3928c61a4b13eeb29a0a66802b7d334f319af3.tar.bz2 hercules-2f3928c61a4b13eeb29a0a66802b7d334f319af3.tar.xz hercules-2f3928c61a4b13eeb29a0a66802b7d334f319af3.zip |
- When when a party-member levels up, the level change is sent to the char-server to update the even-share range values.
- When joining a gvg_dungeon, the pvp packet will be sent to signal versus.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9759 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/map/party.c b/src/map/party.c index 558615e9c..4ac60a65a 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -508,15 +508,14 @@ int party_recv_movemap(int party_id,int account_id,int char_id, unsigned short m return 0; } -int party_send_movemap(struct map_session_data *sd) +void party_send_movemap(struct map_session_data *sd) { int i; struct party_data *p; - nullpo_retr(0, sd); - if( sd->status.party_id==0 ) - return 0; + return; + intif_party_changemap(sd,1); p=party_search(sd->status.party_id); @@ -532,7 +531,7 @@ int party_send_movemap(struct map_session_data *sd) } if( sd->state.party_sent ) - return 0; + return; party_check_conflict(sd); @@ -546,7 +545,12 @@ int party_send_movemap(struct map_session_data *sd) } } - return 0; + return; +} + +void party_send_levelup(struct map_session_data *sd) +{ + intif_party_changemap(sd,1); } int party_send_logout(struct map_session_data *sd) |