summaryrefslogtreecommitdiff
path: root/src/emap/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-16 00:31:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-16 00:31:57 +0300
commitf099ecceb8b1ca40f990a2c28a8b8740ac0c8a8c (patch)
tree64b7449a501b510b969f48fc9bee93e93b913234 /src/emap/script.c
parent42cd207c4c5f0be387f85f4c89bdcf21929a7f84 (diff)
downloadevol-hercules-f099ecceb8b1ca40f990a2c28a8b8740ac0c8a8c.tar.gz
evol-hercules-f099ecceb8b1ca40f990a2c28a8b8740ac0c8a8c.tar.bz2
evol-hercules-f099ecceb8b1ca40f990a2c28a8b8740ac0c8a8c.tar.xz
evol-hercules-f099ecceb8b1ca40f990a2c28a8b8740ac0c8a8c.zip
Add script function delcells for delete cells/wall.
Diffstat (limited to 'src/emap/script.c')
-rw-r--r--src/emap/script.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emap/script.c b/src/emap/script.c
index 530a13f..905bcf5 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -1827,3 +1827,10 @@ BUILDIN(setCells)
return true;
}
+
+BUILDIN(delCells)
+{
+ const char *name = script_getstr(st,2);
+ map->iwall_remove(name);
+ return true;
+}