diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-16 00:31:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-16 00:31:57 +0300 |
commit | f099ecceb8b1ca40f990a2c28a8b8740ac0c8a8c (patch) | |
tree | 64b7449a501b510b969f48fc9bee93e93b913234 /src/emap/script.c | |
parent | 42cd207c4c5f0be387f85f4c89bdcf21929a7f84 (diff) | |
download | evol-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.c | 7 |
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; +} |