summaryrefslogtreecommitdiff
path: root/src/emap/data/mobd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/data/mobd.c')
-rw-r--r--src/emap/data/mobd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/data/mobd.c b/src/emap/data/mobd.c
index e3a6c34..abddb3d 100644
--- a/src/emap/data/mobd.c
+++ b/src/emap/data/mobd.c
@@ -47,5 +47,7 @@ struct MobdExt *mobd_create(void)
if (!data)
return NULL;
data->walkMask = 0;
+ for (int f = 0; f < MAX_WEAPON_TYPE; f ++)
+ data->weaponAttacks[f] = 10000;
return data;
}