Prechádzať zdrojové kódy

- Removed unused "save_log" setting (addepted from char server, used to debug save/load of objects) (bugreport:3218)
- Fixed tabs in message output (bugreport:5156)
- * change - Ai4rei was faster :P

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15227 54d463be-8e91-2dee-dedb-b68131a5f0ec

GodLesZ 13 rokov pred
rodič
commit
b5216e384d
3 zmenil súbory, kde vykonal 1 pridanie a 7 odobranie
  1. 0 1
      src/map/battle.c
  2. 0 1
      src/map/battle.h
  3. 1 5
      src/map/intif.c

+ 0 - 1
src/map/battle.c

@@ -4354,7 +4354,6 @@ static const struct _battle_data {
 	{ "over_def_bonus",                     &battle_config.over_def_bonus,                  0,      0,      1000,           },
 	{ "skill_log",                          &battle_config.skill_log,                       BL_NUL, BL_NUL, BL_ALL,         },
 	{ "battle_log",                         &battle_config.battle_log,                      0,      0,      1,              },
-	{ "save_log",                           &battle_config.save_log,                        0,      0,      1,              },
 	{ "etc_log",                            &battle_config.etc_log,                         1,      0,      1,              },
 	{ "save_clothcolor",                    &battle_config.save_clothcolor,                 1,      0,      1,              },
 	{ "undead_detect_type",                 &battle_config.undead_detect_type,              0,      0,      2,              },

+ 0 - 1
src/map/battle.h

@@ -240,7 +240,6 @@ extern struct Battle_Config
 	int max_cart_weight;
 	int skill_log;
 	int battle_log;
-	int save_log;
 	int etc_log;
 	int save_clothcolor;
 	int undead_detect_type;

+ 1 - 5
src/map/intif.c

@@ -982,17 +982,13 @@ int intif_parse_LoadGuildStorage(int fd)
 		gstor->storage_status = 0;
 		return 1;
 	}
-	if(battle_config.save_log)
-		ShowInfo("intif_open_guild_storage: %d\n",RFIFOL(fd,4) );
+
 	memcpy(gstor,RFIFOP(fd,12),sizeof(struct guild_storage));
 	storage_guild_storageopen(sd);
 	return 0;
 }
 int intif_parse_SaveGuildStorage(int fd)
 {
-	if(battle_config.save_log) {
-		ShowInfo("intif_save_guild_storage: done %d %d %d\n",RFIFOL(fd,2),RFIFOL(fd,6),RFIFOB(fd,10) );
-	}
 	storage_guild_storagesaved(/*RFIFOL(fd,2), */RFIFOL(fd,6));
 	return 0;
 }