diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-25 01:58:31 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-09-25 01:58:31 +0000 |
commit | 1041b3bbad62766df85393254a93602a1851895a (patch) | |
tree | 0c3e433ec1b0c8b2bed7371ef9c65aa5c112755b /src/map/pc.c | |
parent | 02ff54ba1d0b87b29f19c29524ba77a2f30a6d85 (diff) | |
download | hercules-1041b3bbad62766df85393254a93602a1851895a.tar.gz hercules-1041b3bbad62766df85393254a93602a1851895a.tar.bz2 hercules-1041b3bbad62766df85393254a93602a1851895a.tar.xz hercules-1041b3bbad62766df85393254a93602a1851895a.zip |
* Disabled tick cache (to enable it: define TICK_CACHE to the number of calls that should be cached).
* Added a charid2sd database for fast charid searches.
* Reworked the nick cache to only contain offline characters.
Note: The tick cache was causing _some_ of the desync problems in eA. Gameplay should be much smother, but desync problems still exist.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11290 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 0423ffb78..cd071445a 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -696,8 +696,7 @@ int pc_authok(struct map_session_data *sd, int login_id2, time_t connect_until_t clif_authok(sd); map_addiddb(&sd->bl); - if (map_charid2nick(sd->status.char_id) == NULL) - map_addchariddb(sd->status.char_id, sd->status.name); + map_delnickdb(sd->status.char_id, sd->status.name); //Prevent S. Novices from getting the no-death bonus just yet. [Skotlex] sd->die_counter=-1; |