summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-08-25 13:35:37 -0400
committermekolat <mekolat@users.noreply.github.com>2016-04-15 11:46:25 -0400
commitaefc5982bd5fdc776a9ac5a5b68f6980e8f09387 (patch)
tree1900f8504bdc33dc0fb4daac378af54979a1dc54 /src/map
parentaa7b231359fdf5c505efcfab02079359f7d5d275 (diff)
downloadtmwa-aefc5982bd5fdc776a9ac5a5b68f6980e8f09387.tar.gz
tmwa-aefc5982bd5fdc776a9ac5a5b68f6980e8f09387.tar.bz2
tmwa-aefc5982bd5fdc776a9ac5a5b68f6980e8f09387.tar.xz
tmwa-aefc5982bd5fdc776a9ac5a5b68f6980e8f09387.zip
add type 3 to foreach
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script-fun.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index b48b852..75df30f 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -825,6 +825,9 @@ void builtin_foreach(ScriptState *st)
case 2:
block_type = BL::MOB;
break;
+ case 3:
+ block_type = BL::NUL;
+ break;
default:
return;
}