summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-23 13:11:09 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-23 13:11:09 +0000
commita7b8fa9350754060ebe285e3eb365673754bcaf7 (patch)
tree14359e14cbd35ec39bb275cfa49ff0c6ceae3aff /src
parenta76916af5896de064b18fb06308c7a0ad338e705 (diff)
downloadhercules-a7b8fa9350754060ebe285e3eb365673754bcaf7.tar.gz
hercules-a7b8fa9350754060ebe285e3eb365673754bcaf7.tar.bz2
hercules-a7b8fa9350754060ebe285e3eb365673754bcaf7.tar.xz
hercules-a7b8fa9350754060ebe285e3eb365673754bcaf7.zip
Fixed a mistake in r12232 related to char saving
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12235 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 24e7be3b9..1d4b9feb6 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6828,7 +6828,7 @@ int pc_autosave(int tid,unsigned int tick,int id,int data)
iter = mapit_getallusers();
for( sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); sd = (TBL_PC*)mapit_next(iter) )
{
- if(sd->bl.id == last_save_id) {
+ if(sd->bl.id == last_save_id && save_flag != 1) {
save_flag = 1;
continue;
}