summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-02 16:28:45 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-02 16:28:45 +0000
commit54a5deba39166389d3e3726e8e8018668e199576 (patch)
tree1f22b9a80975c730c1b10fccfd285dcff0cb9c46 /src/char_sql/char.c
parent7c703f2e22367772f607f8959204d00c75a28f90 (diff)
downloadhercules-54a5deba39166389d3e3726e8e8018668e199576.tar.gz
hercules-54a5deba39166389d3e3726e8e8018668e199576.tar.bz2
hercules-54a5deba39166389d3e3726e8e8018668e199576.tar.xz
hercules-54a5deba39166389d3e3726e8e8018668e199576.zip
Fixed an issue where two ushorts were being strcmp'd. Follow-up to r14442. (bugreport:4523)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14443 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 1a81b5d85..f27395a80 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -459,7 +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.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) ||