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://svn.code.sf.net/p/rathena/svn/trunk@14442 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Paradox924X 2010-11-02 05:27:19 +00:00
parent 669bc84b0f
commit a2194e03ae
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
Date Added Date Added
2010/11/02 2010/11/02
* Ensured character data is saved even when last map is the only value that has changed during save time. (bugreport:2218) [Paradox924X]
* Applied fix by Ai4rei to reintroduce mapName within charinfo packet when PACKETVER >= 20100803. Follow-up to r14432. (bugreport:4413) [Paradox924X] * Applied fix by Ai4rei to reintroduce mapName within charinfo packet when PACKETVER >= 20100803. Follow-up to r14432. (bugreport:4413) [Paradox924X]
* Updated script doc to appropriately describe the effects of close/close2 when used without a window on screen. (bugreport:898) [Paradox924X] * Updated script doc to appropriately describe the effects of close/close2 when used without a window on screen. (bugreport:898) [Paradox924X]
* Applied patch by xazax to clean up various bits of code across mapserver code. (bugreport:4512) [Paradox924X] * Applied patch by xazax to clean up various bits of code across mapserver code. (bugreport:4512) [Paradox924X]

View File

@ -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->base_exp != cp->base_exp) || (p->base_level != cp->base_level) ||
(p->job_level != cp->job_level) || (p->job_exp != cp->job_exp) || (p->job_level != cp->job_level) || (p->job_exp != cp->job_exp) ||
(p->zeny != cp->zeny) || (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->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_hp != cp->max_hp) || (p->hp != cp->hp) ||
(p->max_sp != cp->max_sp) || (p->sp != cp->sp) || (p->max_sp != cp->max_sp) || (p->sp != cp->sp) ||