summaryrefslogtreecommitdiff
path: root/src/emap/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-25 15:39:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-25 15:39:07 +0300
commit3f3657e0279b4f7b111906870e8b974359cc7463 (patch)
tree00fc60ff96747486ae67b3476d14040a4e6404c9 /src/emap/script.c
parent4f45fd0d497028ef66d6e4c0313e874f9fd0984b (diff)
downloadevol-hercules-3f3657e0279b4f7b111906870e8b974359cc7463.tar.gz
evol-hercules-3f3657e0279b4f7b111906870e8b974359cc7463.tar.bz2
evol-hercules-3f3657e0279b4f7b111906870e8b974359cc7463.tar.xz
evol-hercules-3f3657e0279b4f7b111906870e8b974359cc7463.zip
Add layer field into wall. For now it used 0 from scripts.
Diffstat (limited to 'src/emap/script.c')
-rw-r--r--src/emap/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/script.c b/src/emap/script.c
index 1874564..d64f190 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -1756,7 +1756,7 @@ BUILDIN(setCells)
if ((m = map->mapname2mapid(mapname)) < 0)
return true; // Invalid Map
- emap_iwall_set2(m, x1, y1, x2, y2, mask, name);
+ emap_iwall_set2(m, 0, x1, y1, x2, y2, mask, name);
return true;
}