diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-08 17:07:41 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-08 17:07:41 +0000 |
commit | 0076586fc9437fed4bfca94d0601e5b16d20da4d (patch) | |
tree | 6cb4d24dae90dd34d5053817a4154661cb858f85 | |
parent | 24f1e9e8b1865f47475d32214bcaa039a79a5df2 (diff) | |
download | hercules-0076586fc9437fed4bfca94d0601e5b16d20da4d.tar.gz hercules-0076586fc9437fed4bfca94d0601e5b16d20da4d.tar.bz2 hercules-0076586fc9437fed4bfca94d0601e5b16d20da4d.tar.xz hercules-0076586fc9437fed4bfca94d0601e5b16d20da4d.zip |
- 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.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10188 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 4 | ||||
-rw-r--r-- | src/map/pc.c | 4 |
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. |