From 6c15c23889772ce4986765e801be3f216ed50a11 Mon Sep 17 00:00:00 2001 From: Hein-Pieter van Braam Date: Sun, 1 Oct 2017 16:51:05 +0200 Subject: Replace a OPCODE_BREAK with break in opcode 31 This was a mistake made in 520d84e. There are no more other looping structures left in this function. --- modules/gdscript/gd_function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gdscript/gd_function.cpp') diff --git a/modules/gdscript/gd_function.cpp b/modules/gdscript/gd_function.cpp index 767ea29f3c..9df2823c35 100644 --- a/modules/gdscript/gd_function.cpp +++ b/modules/gdscript/gd_function.cpp @@ -469,7 +469,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a if (cmp == scr_B) { //inherits from script, all ok extends_ok = true; - OPCODE_BREAK; + break; } cmp = cmp->_base; -- cgit v1.2.3