summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@users.noreply.github.com>2013-11-18 17:33:48 -0800
committershennetsind <shennetsind@users.noreply.github.com>2013-11-18 17:33:48 -0800
commit51cbaf27c96e874850588ddcfa13b656db45bb2e (patch)
tree8e8eac3791a925ebb7a3136bfd2833e279ef5a85 /src/map/script.c
parent116e8b8a8727895010b85dfc332f3c5f95bb498f (diff)
parent0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8 (diff)
downloadhercules-51cbaf27c96e874850588ddcfa13b656db45bb2e.tar.gz
hercules-51cbaf27c96e874850588ddcfa13b656db45bb2e.tar.bz2
hercules-51cbaf27c96e874850588ddcfa13b656db45bb2e.tar.xz
hercules-51cbaf27c96e874850588ddcfa13b656db45bb2e.zip
Merge pull request #224 from datmumbles/size_changes
Corrected size-related constant names (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;