summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGodLesZ <GodLesZ@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-23 14:04:25 +0000
committerGodLesZ <GodLesZ@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-23 14:04:25 +0000
commit4c8e69bb2f2c37a9dcea897248322b224f926ef2 (patch)
treed8886fa1ce90e5898a4eecdd684de92089a16df1
parenta09dadb5b889a3d4429947ac3c2acba6e3f458ec (diff)
downloadhercules-4c8e69bb2f2c37a9dcea897248322b224f926ef2.tar.gz
hercules-4c8e69bb2f2c37a9dcea897248322b224f926ef2.tar.bz2
hercules-4c8e69bb2f2c37a9dcea897248322b224f926ef2.tar.xz
hercules-4c8e69bb2f2c37a9dcea897248322b224f926ef2.zip
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15227 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/battle.c1
-rw-r--r--src/map/battle.h1
-rw-r--r--src/map/intif.c6
3 files changed, 1 insertions, 7 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 709ccd54e..ad53f8145 100644
--- a/src/map/battle.c
+++ b/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, },
diff --git a/src/map/battle.h b/src/map/battle.h
index b53b794c3..6c280e085 100644
--- a/src/map/battle.h
+++ b/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;
diff --git a/src/map/intif.c b/src/map/intif.c
index 9fea3be43..77d4a4b87 100644
--- a/src/map/intif.c
+++ b/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;
}