diff options
author | Paradox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-02 05:27:19 +0000 |
---|---|---|
committer | Paradox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-02 05:27:19 +0000 |
commit | 7c703f2e22367772f607f8959204d00c75a28f90 (patch) | |
tree | 2c35716a6c7efa7b63af045975bc8ea43cfc3141 /src | |
parent | ed467c27fa44a444791941d9e25c609b2aa1e759 (diff) | |
download | hercules-7c703f2e22367772f607f8959204d00c75a28f90.tar.gz hercules-7c703f2e22367772f607f8959204d00c75a28f90.tar.bz2 hercules-7c703f2e22367772f607f8959204d00c75a28f90.tar.xz hercules-7c703f2e22367772f607f8959204d00c75a28f90.zip |
Ensured character data is saved even when last map is the only value that has changed during save time. (bugreport:2218)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14442 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/char_sql/char.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index df3ea7fd6..1a81b5d85 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -459,6 +459,7 @@ int mmo_char_tosql(int char_id, struct mmo_charstatus* p) (p->base_exp != cp->base_exp) || (p->base_level != cp->base_level) || (p->job_level != cp->job_level) || (p->job_exp != cp->job_exp) || (p->zeny != cp->zeny) || + strcmp(p->last_point.map, cp->last_point.map) (p->last_point.x != cp->last_point.x) || (p->last_point.y != cp->last_point.y) || (p->max_hp != cp->max_hp) || (p->hp != cp->hp) || (p->max_sp != cp->max_sp) || (p->sp != cp->sp) || |