summaryrefslogtreecommitdiff
path: root/librelogo/source/LibreLogo
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2013-06-26 02:00:51 +0200
committerLászló Németh <nemeth@numbertext.org>2013-06-26 02:48:59 +0200
commitee311c55c999a68aa677faac69b3462975ad05d4 (patch)
tree92aa415f1e8fe5e8e3472affb199a4bb32030da0 /librelogo/source/LibreLogo
parent397c95b49dc29d480687c5a96e0e385964726e94 (diff)
fdo#66180 librelogo: clockwise HEADING
Change-Id: I1154b29119fd3fbb30d50246e94b3906bea24220
Diffstat (limited to 'librelogo/source/LibreLogo')
-rw-r--r--librelogo/source/LibreLogo/LibreLogo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py
index 4b66ae3550bf..bf925c88b259 100644
--- a/librelogo/source/LibreLogo/LibreLogo.py
+++ b/librelogo/source/LibreLogo/LibreLogo.py
@@ -722,7 +722,7 @@ def turnright(deg):
def heading(deg = -1, go = False):
turtle = __getshape__(__TURTLE__)
if deg == -1:
- return turtle.RotateAngle / 100
+ return -turtle.RotateAngle / 100 + 360
else:
if deg == u'any':
turtle.RotateAngle = random.random() * 36000