Skip to content

Commit

Permalink
deleted wrong and duplicated flag checking;
Browse files Browse the repository at this point in the history
  • Loading branch information
TeslaRus committed Apr 23, 2017
1 parent 08a10a5 commit 1672982
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1166,8 +1166,7 @@ void Entity_Frame(entity_p entity, float time)
ss_anim->onEndFrame(entity, ss_anim);
}
}
else if(!(ss_anim->anim_frame_flags & ANIM_FRAME_LOCK) &&
((ss_anim->model->animation_count > 1) || (ss_anim->model->animations->max_frame > 1)))
else if((ss_anim->model->animation_count > 1) || (ss_anim->model->animations->max_frame > 1))
{
frame_switch_state = Anim_SetNextFrame(ss_anim, time);
if(frame_switch_state >= 0x01)
Expand Down

0 comments on commit 1672982

Please sign in to comment.