add case
Some checks failed
Build Dusk / build-linux (push) Failing after 50s
Build Dusk / release (push) Has been skipped

This commit is contained in:
2025-11-12 14:48:45 -06:00
parent ae75a932bf
commit cd4a1afbba

View File

@@ -68,7 +68,7 @@ void sceneMapEntityGetPosition(const entity_t *entity, vec3 outPosition) {
// Add animation offset(s) // Add animation offset(s)
switch(entity->animation) { switch(entity->animation) {
case ENTITY_ANIM_WALK: case ENTITY_ANIM_WALK: {
float_t animPercentage = entity->animTime / ENTITY_ANIM_WALK_DURATION; float_t animPercentage = entity->animTime / ENTITY_ANIM_WALK_DURATION;
vec3 lastPosition; vec3 lastPosition;
@@ -79,6 +79,7 @@ void sceneMapEntityGetPosition(const entity_t *entity, vec3 outPosition) {
glm_vec3_scale(offset, -animPercentage, offset); glm_vec3_scale(offset, -animPercentage, offset);
glm_vec3_add(outPosition, offset, outPosition); glm_vec3_add(outPosition, offset, outPosition);
break; break;
}
default: default:
break; break;