summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorreddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-17 01:03:22 +0000
committerreddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-17 01:03:22 +0000
commitcbec17c2b3c429bebced53dea2cf4037a4e601d9 (patch)
treecf2ca3c6ff75115229a28422ead3a077b4ce121c /src
parent41426d1faab76c67ca6f8d71a6e36b5d9f053cce (diff)
downloadhercules-cbec17c2b3c429bebced53dea2cf4037a4e601d9.tar.gz
hercules-cbec17c2b3c429bebced53dea2cf4037a4e601d9.tar.bz2
hercules-cbec17c2b3c429bebced53dea2cf4037a4e601d9.tar.xz
hercules-cbec17c2b3c429bebced53dea2cf4037a4e601d9.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/map/atcommand.h2
-rw-r--r--src/map/clif.c2
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)