From ac680b47d2a21a1a3095f1a1343c8edcd886144f Mon Sep 17 00:00:00 2001 From: Martin Haye Date: Sun, 3 Jul 2016 18:20:07 -0700 Subject: [PATCH] Always beep when blocked, whether blocked by an obstacle or the edge of the map. --- Platform/Apple/virtual/src/plasma/gameloop.pla | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Platform/Apple/virtual/src/plasma/gameloop.pla b/Platform/Apple/virtual/src/plasma/gameloop.pla index 0c718503..695aef18 100644 --- a/Platform/Apple/virtual/src/plasma/gameloop.pla +++ b/Platform/Apple/virtual/src/plasma/gameloop.pla @@ -1301,7 +1301,9 @@ def moveForward() val = advance() // If not blocked, render at the new position. - if val > 0 + if val == 0 + beep() + else if !mapIs3D doRender() else