summaryrefslogtreecommitdiff
path: root/src/emap/data/mobd.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-02 19:22:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-02 19:22:04 +0300
commit58e216614ba0b1806a417f2cc2ea2323bbb230cf (patch)
treef4dabeb369de95b92325bb52de91568ff8245d26 /src/emap/data/mobd.c
parent9656a691e1c8c68f7832f33b3777217f8953ba11 (diff)
downloadplugin-58e216614ba0b1806a417f2cc2ea2323bbb230cf.tar.gz
plugin-58e216614ba0b1806a417f2cc2ea2323bbb230cf.tar.bz2
plugin-58e216614ba0b1806a417f2cc2ea2323bbb230cf.tar.xz
plugin-58e216614ba0b1806a417f2cc2ea2323bbb230cf.zip
Add support for spawn collision for mobs.s20161024s20161017s20161004
Diffstat (limited to 'src/emap/data/mobd.c')
-rw-r--r--src/emap/data/mobd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/data/mobd.c b/src/emap/data/mobd.c
index 8f77994..e11a222 100644
--- a/src/emap/data/mobd.c
+++ b/src/emap/data/mobd.c
@@ -51,5 +51,8 @@ struct MobdExt *mobd_create(void)
data->weaponAttacks[f] = 10000;
for (int f = 0; f < MAX_SKILL_DB; f ++)
data->skillAttacks[f] = 10000;
+ data->collisionDx = -1;
+ data->collisionDy = -1;
+ data->collisionMask = 1;
return data;
}