diff options
author | Fate <fate-tmw@googlemail.com> | 2009-05-14 10:20:57 +0000 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-05-14 10:20:57 +0000 |
commit | 4e7a458308e2c3c6670489da43d06bd25c2db92c (patch) | |
tree | a24e10e4e4a7c2bfc2c298b85440347816cc04a7 /src/map/pc.h | |
parent | 226d345c10e5271f026584083090e46ebc580f3e (diff) | |
download | tmwa-4e7a458308e2c3c6670489da43d06bd25c2db92c.tar.gz tmwa-4e7a458308e2c3c6670489da43d06bd25c2db92c.tar.bz2 tmwa-4e7a458308e2c3c6670489da43d06bd25c2db92c.tar.xz tmwa-4e7a458308e2c3c6670489da43d06bd25c2db92c.zip |
Added pc_logout() hook to process players who are logging out
When poisoned and logging out, set hp to 1 to avoid cheap poison cure exploit
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 8ecbeb3..0af9a20 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -184,6 +184,7 @@ int pc_setinvincibletimer(struct map_session_data *sd,int); int pc_delinvincibletimer(struct map_session_data *sd); int pc_addspiritball(struct map_session_data *sd,int,int); int pc_delspiritball(struct map_session_data *sd,int,int); +int pc_logout(struct map_session_data *sd); // [fate] Player logs out int do_init_pc(void); |