From 49a1de65bf592bbfe194a06b2b4c41f9865ea8b3 Mon Sep 17 00:00:00 2001 From: flaviojs Date: Tue, 6 Sep 2011 03:45:03 +0000 Subject: * 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 --- Changelog-Trunk.txt | 1 + src/map/chrif.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 6268f4404..d10207c3c 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -2,6 +2,7 @@ Date Added 2011/09/05 * Add consistency checks to the shortlist. [FlavioJS] + * Restrict intif_quest_save to sql only. txt char-server doesn't support the packet and disconnects the map-server. 2011/09/02 * Fixed @reloadmobdb wiping out monster spawn information. [Skotlex] 2011/08/30 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; } -- cgit v1.2.3-70-g09d2