From 0076586fc9437fed4bfca94d0601e5b16d20da4d Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 8 Apr 2007 17:07:41 +0000 Subject: - 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 --- src/map/pc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3-70-g09d2