From 711680d652a8db17c1b91428b6d6835f30dfb4fd Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 19 Nov 2014 17:44:13 -0800 Subject: Magically allow "break" within WITH_VAR --- src/map/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.cpp') diff --git a/src/map/map.cpp b/src/map/map.cpp index b5f08ea..784319f 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -1247,7 +1247,7 @@ void map_setcell(Borrowed m, int x, int y, MapCell t) int map_setipport(MapName name, IP4Address ip, int port) { Option> md_ = maps_db.get(name); - if OPTION_IS_SOME(md, md_) + if OPTION_IS_SOME_NOLOOP(md, md_) { if (md->gat) { -- cgit v1.2.3-70-g09d2