summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/magic-stmt.cpp3
1 files changed, 2 insertions, 1 deletions
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_);