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 /src/map/pc.c | |
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
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 3 insertions, 1 deletions
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. |