From 14347ea3be189918fef03b766c97391b7ff33cdd Mon Sep 17 00:00:00 2001
From: Ben Longbons <b.r.longbons@gmail.com>
Date: Sat, 6 Sep 2014 01:45:19 -0700
Subject: Stupid hidden loops, I need another macro for this

---
 src/map/magic-stmt.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/map/magic-stmt.cpp b/src/map/magic-stmt.cpp
index fd02d45..2a657fa 100644
--- a/src/map/magic-stmt.cpp
+++ b/src/map/magic-stmt.cpp
@@ -1382,7 +1382,7 @@ interval_t spell_run(dumb_ptr<invocation> invocation_, int allow_delete)
 
                     if (recipient->npc_id
                         && recipient->npc_id != invocation_->bl_id)
-                        break;  /* Don't send multiple message boxes at once */
+                        goto break_match;  /* Don't send multiple message boxes at once */
 
                     if (!invocation_->script_pos)    // first time running this script?
                         clif_spawn_fake_npc_for_player(recipient,
@@ -1438,6 +1438,7 @@ interval_t spell_run(dumb_ptr<invocation> invocation_, int allow_delete)
             }
         }
 
+    break_match:
         if (!next)
             next = return_to_stack(invocation_);
 
-- 
cgit v1.2.3-70-g09d2