- The can log value now is "reset" when you die allowing you to respawn/quit instantly after death.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9413 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-12-05 21:29:45 +00:00
parent efce12bf28
commit 2e89ae68c4
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,8 @@ 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.
2004/12/05 2004/12/05
* The can log value now is "reset" when you die allowing you to
respawn/quit instantly after death. [Skotlex]
* Fixed sc data load failing when using charsave_method: 1 [Skotlex] * Fixed sc data load failing when using charsave_method: 1 [Skotlex]
* Fixed the interserver link reserve size being 8 times instead of 1/8th * Fixed the interserver link reserve size being 8 times instead of 1/8th
the default size. Changed it to be 1/4th as well. [Skotlex] the default size. Changed it to be 1/4th as well. [Skotlex]

View File

@ -5133,6 +5133,9 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
return 0; return 0;
} }
//Reset "can log out" tick.
if (battle_config.prevent_logout)
sd->canlog_tick = gettick() - battle_config.prevent_logout;
return 1; return 1;
} }