Browse Source

* Restrict intif_quest_save to sql only. txt char-server doesn't support the packet and disconnects the map-server.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14954 54d463be-8e91-2dee-dedb-b68131a5f0ec
flaviojs 13 years ago
parent
commit
36bac9f797
2 changed files with 3 additions and 0 deletions
  1. 1 0
      Changelog-Trunk.txt
  2. 2 0
      src/map/chrif.c

+ 1 - 0
Changelog-Trunk.txt

@@ -2,6 +2,7 @@ Date	Added
 
 
 2011/09/05
 2011/09/05
 	* Add consistency checks to the shortlist. [FlavioJS]
 	* 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
 2011/09/02
 	* Fixed @reloadmobdb wiping out monster spawn information. [Skotlex]
 	* Fixed @reloadmobdb wiping out monster spawn information. [Skotlex]
 2011/08/30
 2011/08/30

+ 2 - 0
src/map/chrif.c

@@ -311,8 +311,10 @@ int chrif_save(struct map_session_data *sd, int flag)
 		merc_save(sd->hd);
 		merc_save(sd->hd);
 	if( sd->md && mercenary_get_lifetime(sd->md) > 0 )
 	if( sd->md && mercenary_get_lifetime(sd->md) > 0 )
 		mercenary_save(sd->md);
 		mercenary_save(sd->md);
+#ifndef TXT_ONLY
 	if( sd->save_quest )
 	if( sd->save_quest )
 		intif_quest_save(sd);
 		intif_quest_save(sd);
+#endif
 
 
 	return 0;
 	return 0;
 }
 }