Skip to content

Commit

Permalink
quick fix for shimmy left / right moving;
Browse files Browse the repository at this point in the history
  • Loading branch information
TeslaRus committed Jul 12, 2016
1 parent e1296c9 commit 198eec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/anim_state_control.cpp
Expand Up @@ -2094,7 +2094,7 @@ int State_Control_Lara(struct entity_s *ent, struct ss_animation_s *ss_anim)
break;

case TR_STATE_LARA_SHIMMY_LEFT:
ent->no_fix_skeletal_parts = BODY_PART_LEGS_1 | BODY_PART_LEGS_2 | BODY_PART_LEGS_3 | BODY_PART_HANDS_3;
ent->no_fix_skeletal_parts = BODY_PART_LEGS_3 | BODY_PART_HANDS_3 | BODY_PART_HEAD;

cmd->rot[0] = 0;
ent->dir_flag = ENT_MOVE_LEFT;
Expand Down Expand Up @@ -2162,7 +2162,7 @@ int State_Control_Lara(struct entity_s *ent, struct ss_animation_s *ss_anim)
break;

case TR_STATE_LARA_SHIMMY_RIGHT:
ent->no_fix_skeletal_parts = BODY_PART_LEGS_1 | BODY_PART_LEGS_2 | BODY_PART_LEGS_3 | BODY_PART_HANDS_3;
ent->no_fix_skeletal_parts = BODY_PART_LEGS_3 | BODY_PART_HANDS_3 | BODY_PART_HEAD;

cmd->rot[0] = 0;
ent->dir_flag = ENT_MOVE_RIGHT;
Expand Down

1 comment on commit 198eec2

@vvs-
Copy link
Contributor

@vvs- vvs- commented on 198eec2 Aug 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes #13 worse.

Please sign in to comment.