From 2e4d01edd3b64dd433c78fd0789bacc4fad7ecd9 Mon Sep 17 00:00:00 2001 From: Chris Pressey Date: Wed, 13 Dec 2017 16:05:18 +0000 Subject: [PATCH] Correct the implementation of check_new_position_in_bounds. --- eg/proto-game.60p | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eg/proto-game.60p b/eg/proto-game.60p index 6a02fb3..d53c111 100644 --- a/eg/proto-game.60p +++ b/eg/proto-game.60p @@ -206,12 +206,12 @@ routine check_new_position_in_bounds st on, c sub compare_target, new_pos if not c { - st on, c - } else { st off, c + } else { + st on, c } } else { - st off, c + st on, c } }