Переглянути джерело

* Ammendment: battle_config.skill_sp_override_grffile

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6668 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance 19 роки тому
батько
коміт
58204d275e
1 змінених файлів з 4 додано та 2 видалено
  1. 4 2
      src/map/map.c

+ 4 - 2
src/map/map.c

@@ -3659,7 +3659,8 @@ void do_final(void) {
 
 
 	// We probably don't need the grfio after server bootup 'yet' too. So this is closed near the end of do_init [Lance]
 	// We probably don't need the grfio after server bootup 'yet' too. So this is closed near the end of do_init [Lance]
 	if((battle_config.cardillust_read_grffile || battle_config.item_equip_override_grffile || 
 	if((battle_config.cardillust_read_grffile || battle_config.item_equip_override_grffile || 
-		battle_config.item_slots_override_grffile || battle_config.item_name_override_grffile))
+		battle_config.item_slots_override_grffile || battle_config.item_name_override_grffile ||
+		battle_config.skill_sp_override_grffile))
 		grfio_final();
 		grfio_final();
 
 
 	for (i = 0; i < map_num; i++)
 	for (i = 0; i < map_num; i++)
@@ -3953,7 +3954,8 @@ int do_init(int argc, char *argv[]) {
 		ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n");
 		ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n");
 
 
 	if(!(battle_config.cardillust_read_grffile || battle_config.item_equip_override_grffile || 
 	if(!(battle_config.cardillust_read_grffile || battle_config.item_equip_override_grffile || 
-		battle_config.item_slots_override_grffile || battle_config.item_name_override_grffile))
+		battle_config.item_slots_override_grffile || battle_config.item_name_override_grffile ||
+		battle_config.skill_sp_override_grffile))
 		grfio_final(); // Unused after reading all maps.
 		grfio_final(); // Unused after reading all maps.
 
 
 	//However, some reload functions still use it,disable them.
 	//However, some reload functions still use it,disable them.