Преглед изворни кода

Removed obsolete `mob_clear_delay` config (since r5707) (bugreport:137)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15532 54d463be-8e91-2dee-dedb-b68131a5f0ec
gepard1984 пре 13 година
родитељ
комит
e0ea6a4dcd
3 измењених фајлова са 0 додато и 6 уклоњено
  1. 0 4
      conf/battle/monster.conf
  2. 0 1
      src/map/battle.c
  3. 0 1
      src/map/battle.h

+ 0 - 4
conf/battle/monster.conf

@@ -183,10 +183,6 @@ mob_remove_damaged: yes
 // Delay before removing mobs from empty maps (default 5 min = 300 secs)
 mob_remove_delay: 300000
 
-// Can add a delay before sending monster death packet (time is in milliseconds and default 0 is off)
-// Increasing this can fix the problem with monster sprites still appearing after it died.  Recommended value: 10.
-mob_clear_delay: 0
-
 // Defines on who the mob npc_event gets executed when a mob is killed.
 // Type 1: On the player that killed the mob (if killed by a non-player, resorts to type 0)
 // Type 0: On the player that did the most damage to the mob.

+ 0 - 1
src/map/battle.c

@@ -4669,7 +4669,6 @@ static const struct _battle_data {
 	{ "show_hp_sp_drain",                   &battle_config.show_hp_sp_drain,                0,      0,      1,              },
 	{ "show_hp_sp_gain",                    &battle_config.show_hp_sp_gain,                 1,      0,      1,              },
 	{ "mob_npc_event_type",                 &battle_config.mob_npc_event_type,              1,      0,      1,              },
-	{ "mob_clear_delay",                    &battle_config.mob_clear_delay,                 0,      0,      INT_MAX,        },
 	{ "character_size",                     &battle_config.character_size,                  1|2,    0,      1|2,            },
 	{ "mob_max_skilllvl",                   &battle_config.mob_max_skilllvl,                MAX_SKILL_LEVEL, 1, MAX_SKILL_LEVEL, },
 	{ "retaliate_to_master",                &battle_config.retaliate_to_master,             1,      0,      1,              },

+ 0 - 1
src/map/battle.h

@@ -410,7 +410,6 @@ extern struct Battle_Config
 	int show_hp_sp_drain, show_hp_sp_gain;	//[Skotlex]
 
 	int mob_npc_event_type; //Determines on who the npc_event is executed. [Skotlex]
-	int mob_clear_delay; // [Valaris]
 
 	int character_size; // if riders have size=2, and baby class riders size=1 [Lupus]
 	int mob_max_skilllvl; // Max possible skill level [Lupus]