summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-09-06 03:45:03 +0000
committerflaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-09-06 03:45:03 +0000
commit49a1de65bf592bbfe194a06b2b4c41f9865ea8b3 (patch)
tree91024ebc076d346bdeb6ed7333e2ed17a0e4ad73 /src
parentc00559560fb847f205b1c8103c9f5a6515aa7bca (diff)
downloadhercules-49a1de65bf592bbfe194a06b2b4c41f9865ea8b3.tar.gz
hercules-49a1de65bf592bbfe194a06b2b4c41f9865ea8b3.tar.bz2
hercules-49a1de65bf592bbfe194a06b2b4c41f9865ea8b3.tar.xz
hercules-49a1de65bf592bbfe194a06b2b4c41f9865ea8b3.zip
* Restrict intif_quest_save to sql only. txt char-server doesn't support the packet and disconnects the map-server.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14954 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/chrif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index a14200a36..d1332fab2 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -311,8 +311,10 @@ int chrif_save(struct map_session_data *sd, int flag)
merc_save(sd->hd);
if( sd->md && mercenary_get_lifetime(sd->md) > 0 )
mercenary_save(sd->md);
+#ifndef TXT_ONLY
if( sd->save_quest )
intif_quest_save(sd);
+#endif
return 0;
}