diff options
author | shennetsind <shennetsind@users.noreply.github.com> | 2013-11-18 17:33:48 -0800 |
---|---|---|
committer | shennetsind <shennetsind@users.noreply.github.com> | 2013-11-18 17:33:48 -0800 |
commit | 51cbaf27c96e874850588ddcfa13b656db45bb2e (patch) | |
tree | 8e8eac3791a925ebb7a3136bfd2833e279ef5a85 /src/map/script.c | |
parent | 116e8b8a8727895010b85dfc332f3c5f95bb498f (diff) | |
parent | 0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8 (diff) | |
download | hercules-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.c | 6 |
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; |