From 73f477e76de1ffee1f39ddac9b0a5dadd350647d Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Thu, 2 Mar 2017 22:02:16 +0100 Subject: Fix bjump not setting ip pos --- world.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/world.cpp b/world.cpp index 0af24a2..7674164 100644 --- a/world.cpp +++ b/world.cpp @@ -159,6 +159,7 @@ WorldAction Robot::execute(Instruction &ins,World &world){ case ins_t::bjump: ip.bank=ins.args[0].num-1; + ip.pos=ins.args[1].num-1; break; case ins_t::die: -- cgit v1.2.3-70-g09d2