Explorar o código

Removed AtCommand_Monster and replaced it with AtCommand_Spawn for Skots [Reddozen]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6626 54d463be-8e91-2dee-dedb-b68131a5f0ec
reddozen %!s(int64=19) %!d(string=hai) anos
pai
achega
0277ebc706
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/map/atcommand.h
  2. 1 1
      src/map/clif.c

+ 1 - 1
src/map/atcommand.h

@@ -58,7 +58,7 @@ enum AtCommandType {
 	AtCommand_Model,
 	AtCommand_Go,
 	AtCommand_Spawn,
-	AtCommand_Monster,
+	//AtCommand_Monster,	// removed for Skots [Reddozen]
 	AtCommand_MonsterSmall,
 	AtCommand_MonsterBig,
 	AtCommand_KillMonster,

+ 1 - 1
src/map/clif.c

@@ -10541,7 +10541,7 @@ void clif_parse_GM_Monster_Item(int fd, struct map_session_data *sd) {
 		memcpy(monster_item_name, RFIFOP(fd,2), NAME_LENGTH);
 
 		if (mobdb_searchname(monster_item_name) != 0) {
-			if (pc_isGM(sd) >= (level =get_atcommand_level(AtCommand_Monster)))
+			if (pc_isGM(sd) >= (level =get_atcommand_level(AtCommand_Spawn)))	// changed from AtCommand_Monster for Skots [Reddozen]
 			{
 				atcommand_monster(fd, sd, "@spawn", monster_item_name); // as @spawn
 				if(log_config.gm && level >= log_config.gm)