소스 검색

fix shooter rotation

Bastien Sevajol 7 년 전
부모
커밋
5169044a92
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      opencombat/gui/base.py

+ 1 - 1
opencombat/gui/base.py 파일 보기

@@ -354,7 +354,7 @@ class Game(TMXGui):
354 354
 
355 355
         def actor_rotate():
356 356
             shooter_actor.rotation = get_angle(
357
-                shooter_actor.position,
357
+                shooter_actor.subject.position,
358 358
                 event.target_position,
359 359
             )
360 360