Browse Source

- Fixed compile error and missing field in the clone function.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5711 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 years ago
parent
commit
afee4446f9
2 changed files with 2 additions and 3 deletions
  1. 1 1
      src/map/atcommand.c
  2. 1 2
      src/map/battle.h

+ 1 - 1
src/map/atcommand.c

@@ -10102,7 +10102,7 @@ int atcommand_clone(
 		master = sd->bl.id;
 		if (battle_config.atc_slave_clone_limit
 			&& mob_countslave(&sd->bl) >= battle_config.atc_slave_clone_limit) {
-			clif_displaymessage(fd, "");
+			clif_displaymessage(fd, msg_txt(127));
 			return 0;
 		}
 	}

+ 1 - 2
src/map/battle.h

@@ -221,8 +221,7 @@ extern struct Battle_Config {
 	unsigned short etc_log;
 	unsigned short save_clothcolor;
 	unsigned short undead_detect_type;
-	unsigned short pc_auto_counter_type;
-	unsigned short monster_auto_counter_type;
+	unsigned short auto_counter_type;
 	unsigned short min_hitrate;	//[Skotlex]
 	unsigned short max_hitrate;	//[Skotlex]
 	unsigned short agi_penalty_type;