From cbec17c2b3c429bebced53dea2cf4037a4e601d9 Mon Sep 17 00:00:00 2001 From: reddozen Date: Wed, 17 May 2006 01:03:22 +0000 Subject: Removed AtCommand_Monster and replaced it with AtCommand_Spawn for Skots [Reddozen] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6626 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.h | 2 +- src/map/clif.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/atcommand.h b/src/map/atcommand.h index a9eb69aba..60b20c4ab 100644 --- a/src/map/atcommand.h +++ b/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, diff --git a/src/map/clif.c b/src/map/clif.c index 340a666d3..d6e24a83e 100644 --- a/src/map/clif.c +++ b/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) -- cgit v1.2.3-70-g09d2