summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt4
-rw-r--r--src/map/pc.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 34c1dc324..7798849fe 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,10 @@ 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.
2007/04/09
+ * Now when saving a character, only the cart/peco/falcon 'option' states
+ are saved, the rest should be handled by the status change load/save
+ functions. This saves 'permanent' cloaking/hiding and other such oddities
+ if the server is unable to save your status changes on logout.
* Updated some Guild WoE rules to behave as explained here:
http://www.eathena.ws/board/index.php?showtopic=146581 [Skotlex]
2007/04/08
diff --git a/src/map/pc.c b/src/map/pc.c
index 24088ff61..22bccbb00 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -318,7 +318,9 @@ int pc_makesavestatus(struct map_session_data *sd)
if(!battle_config.save_clothcolor)
sd->status.clothes_color=0;
- sd->status.option = sd->sc.option; //Since the option saved is in
+ //Only copy the Cart/Peco/Falcon options, the rest are handled via
+ //status change load/saving. [Skotlex]
+ sd->status.option = sd->sc.option&(OPTION_CART|OPTION_FALCON|OPTION_RIDING);
if (sd->sc.count && sd->sc.data[SC_JAILED].timer != -1)
{ //When Jailed, do not move last point.