Readded duel code in map_quit. Why it has been removed!?
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9138 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7367e7aa5f
commit
861af615d5
@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/11/04
|
2006/11/04
|
||||||
|
* Readded duel code in map_quit. Why it has been removed!? [LuzZza]
|
||||||
* Converted itemdb tables to use smallint. Credits to ALZ. [Lance]
|
* Converted itemdb tables to use smallint. Credits to ALZ. [Lance]
|
||||||
2006/11/01
|
2006/11/01
|
||||||
* Reverted LK_Berserk HP requirement, as everything, including kRO X.2 and
|
* Reverted LK_Berserk HP requirement, as everything, including kRO X.2 and
|
||||||
|
@ -1682,6 +1682,14 @@ int map_quit(struct map_session_data *sd) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Force exiting from duel and rejecting
|
||||||
|
// all duel invitations when player quit [LuzZza]
|
||||||
|
if(sd->duel_group > 0)
|
||||||
|
duel_leave(sd->duel_group, sd);
|
||||||
|
|
||||||
|
if(sd->duel_invite > 0)
|
||||||
|
duel_reject(sd->duel_invite, sd);
|
||||||
|
|
||||||
//Do we really need to remove the name?
|
//Do we really need to remove the name?
|
||||||
idb_remove(charid_db,sd->status.char_id);
|
idb_remove(charid_db,sd->status.char_id);
|
||||||
idb_remove(id_db,sd->bl.id);
|
idb_remove(id_db,sd->bl.id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user