Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 1672982

Browse files
committed
deleted wrong and duplicated flag checking;
1 parent 08a10a5 commit 1672982

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/entity.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1166,8 +1166,7 @@ void Entity_Frame(entity_p entity, float time)
11661166
ss_anim->onEndFrame(entity, ss_anim);
11671167
}
11681168
}
1169-
else if(!(ss_anim->anim_frame_flags & ANIM_FRAME_LOCK) &&
1170-
((ss_anim->model->animation_count > 1) || (ss_anim->model->animations->max_frame > 1)))
1169+
else if((ss_anim->model->animation_count > 1) || (ss_anim->model->animations->max_frame > 1))
11711170
{
11721171
frame_switch_state = Anim_SetNextFrame(ss_anim, time);
11731172
if(frame_switch_state >= 0x01)

0 commit comments

Comments
 (0)