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.
This commit is contained in:
Hein-Pieter van Braam 2017-10-01 16:51:05 +02:00
parent 4c36d133d7
commit 6c15c23889
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a
if (cmp == scr_B) { if (cmp == scr_B) {
//inherits from script, all ok //inherits from script, all ok
extends_ok = true; extends_ok = true;
OPCODE_BREAK; break;
} }
cmp = cmp->_base; cmp = cmp->_base;