Procházet zdrojové kódy

fix shooter rotation

Bastien Sevajol před 7 roky
rodič
revize
5169044a92
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      opencombat/gui/base.py

+ 1 - 1
opencombat/gui/base.py Zobrazit soubor

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