changeset 295:43ac21d498a1

Fix segment orientation.
author Jeremy Thurgood <firxen@gmail.com>
date Fri, 16 Sep 2011 09:11:43 +0200
parents f2ba659e03be
children d934b3520893
files mamba/snake.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mamba/snake.py	Fri Sep 16 08:55:07 2011 +0200
+++ b/mamba/snake.py	Fri Sep 16 09:11:43 2011 +0200
@@ -206,7 +206,7 @@
         """
         tile_pos, orientation = tile_state
         self.set_tile_pos(tile_pos)
-        self.orientation = orientation
+        self.set_orientation(orientation)
 
     def shift_tile_and_pixels(self, tile_state):
         ds = self.get_distance()