Pārlūkot izejas kodu

- Removed config setting allow_atcommand_when_mute as it's no longer used (see manner_system in misc.conf for it's replacement)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8860 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 18 gadi atpakaļ
vecāks
revīzija
2653525969
6 mainītis faili ar 3 papildinājumiem un 9 dzēšanām
  1. 3 0
      conf-tmpl/Changelog.txt
  2. 0 3
      conf-tmpl/battle/gm.conf
  3. 0 2
      src/map/battle.c
  4. 0 1
      src/map/battle.h
  5. 0 1
      src/map/clif.c
  6. 0 2
      src/map/status.c

+ 3 - 0
conf-tmpl/Changelog.txt

@@ -1,5 +1,8 @@
 Date	Added
 
+2006/09/25
+	* Removed config setting allow_atcommand_when_mute as it's no longer used
+	  (see manner_system in misc.conf for it's replacement) [Skotlex]
 2006/09/19
 	* Removed setting ban_spoof_namer (as now invalid chat packets just cause
 	  the sending character to be disconnected). [Skotlex]

+ 0 - 3
conf-tmpl/battle/gm.conf

@@ -82,9 +82,6 @@ hack_info_GM_level: 60
 // default: 20 (first level after normal player or super'normal' player)
 any_warp_GM_min_level: 20
 
-// Allow GM commands to be used when muted?
-allow_atcommand_when_mute: yes
-
 // The minimum level for a GM to be unable to distribyte items.
 // You should set this to the same level @item is set to in the atcommand.conf
 // NEVER SET THIS VALUE TO 0, or you will block drop/trade for normal players

+ 0 - 2
src/map/battle.c

@@ -3703,7 +3703,6 @@ static const struct battle_data_short {
 	{ "skill_steal_max_tries",			&battle_config.skill_steal_max_tries}, // [Lupus]
 //	{ "night_darkness_level",              &battle_config.night_darkness_level}, // [celest]
 	{ "motd_type",                         &battle_config.motd_type}, // [celest]
-	{ "allow_atcommand_when_mute",         &battle_config.allow_atcommand_when_mute}, // [celest]
 	{ "finding_ore_rate",                  &battle_config.finding_ore_rate}, // [celest]
 	{ "exp_calc_type",                     &battle_config.exp_calc_type}, // [celest]
 	{ "min_skill_delay_limit",             &battle_config.min_skill_delay_limit}, // [celest]
@@ -4136,7 +4135,6 @@ void battle_set_defaults() {
 	battle_config.skill_steal_max_tries = 15; //=16 tries
 //	battle_config.night_darkness_level = 9;
 	battle_config.motd_type = 0;
-	battle_config.allow_atcommand_when_mute = 0;
 	battle_config.finding_ore_rate = 100;
 	battle_config.castrate_dex_scale = 150;
 	battle_config.area_size = 14;

+ 0 - 1
src/map/battle.h

@@ -358,7 +358,6 @@ extern struct Battle_Config {
 	unsigned short skill_steal_max_tries; //max steal skill tries on a mob. if=256, then w/o limit [Lupus]
 //	unsigned short night_darkness_level; // [celest]
 	unsigned short motd_type; // [celest]
-	unsigned short allow_atcommand_when_mute; // [celest]
 	unsigned short finding_ore_rate; // orn
 	unsigned short exp_calc_type;
 	unsigned short min_skill_delay_limit;

+ 0 - 1
src/map/clif.c

@@ -7853,7 +7853,6 @@ int clif_charnameack (int fd, struct block_list *bl)
 				if (battle_config.show_mob_info&1)
 					str_p += sprintf(str_p, "HP: %u/%u | ", md->status.hp, md->status.max_hp);
 				if (battle_config.show_mob_info&2)
-
 					str_p += sprintf(str_p, "HP: %d%% | ", 
 						md->status.max_hp > 10000?
 						md->status.hp/(md->status.max_hp/100):

+ 0 - 2
src/map/status.c

@@ -4474,8 +4474,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
 
 		if (!(rand()%10000 < rate))
 			return 0;
-
-
 	}
 
 	undead_flag=battle_check_undead(status->race,status->def_ele);