summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorMumbles <mumbles@qt-ro.com>2013-11-17 14:14:51 -0800
committerMumbles <mumbles@qt-ro.com>2013-11-18 08:48:12 -0800
commit0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8 (patch)
tree3c83961c522812d2a15150b181332065a58b3f2e /src/map/script.c
parent0839d5126e62ba9ad0ddf4fe8b548483fbb1c746 (diff)
downloadhercules-0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8.tar.gz
hercules-0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8.tar.bz2
hercules-0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8.tar.xz
hercules-0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8.zip
Corrected size-related constant names and cleaned up comments (closes #222).
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index a3b858131..0827258d7 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8540,7 +8540,7 @@ BUILDIN(monster)
int class_ = script_getnum(st,6);
int amount = script_getnum(st,7);
const char* event = "";
- unsigned int size = SZ_SMALL;
+ unsigned int size = SZ_MEDIUM;
unsigned int ai = AI_NONE;
int mob_id;
@@ -8650,7 +8650,7 @@ BUILDIN(areamonster)
int class_ = script_getnum(st,8);
int amount = script_getnum(st,9);
const char* event = "";
- unsigned int size = SZ_SMALL;
+ unsigned int size = SZ_MEDIUM;
unsigned int ai = AI_NONE;
int mob_id;
@@ -12972,7 +12972,7 @@ BUILDIN(summon)
clif->skill_poseffect(&sd->bl,AM_CALLHOMUN,1,sd->bl.x,sd->bl.y,tick);
- md = mob->once_spawn_sub(&sd->bl, sd->bl.m, sd->bl.x, sd->bl.y, str, _class, event, SZ_SMALL, AI_NONE);
+ md = mob->once_spawn_sub(&sd->bl, sd->bl.m, sd->bl.x, sd->bl.y, str, _class, event, SZ_MEDIUM, AI_NONE);
if (md) {
md->master_id=sd->bl.id;
md->special_state.ai = AI_ATTACK;