render: fix animations speed setup

main
Dominik Madarász 2024-02-11 11:38:40 +01:00
parent 0a2167cf68
commit 10746e8b0f
3 changed files with 3 additions and 3 deletions

View File

@ -373786,8 +373786,8 @@ void model_destroy(model_t m) {
anims_t animations(const char *pathfile, int flags) {
anims_t a = {0};
a.speed = 1.0;
a.anims = animlist(pathfile);
if(a.anims) a.speed = 1.0;
return a;
}

View File

@ -3715,8 +3715,8 @@ void model_destroy(model_t m) {
anims_t animations(const char *pathfile, int flags) {
anims_t a = {0};
a.speed = 1.0;
a.anims = animlist(pathfile);
if(a.anims) a.speed = 1.0;
return a;
}

View File

@ -20930,8 +20930,8 @@ void model_destroy(model_t m) {
anims_t animations(const char *pathfile, int flags) {
anims_t a = {0};
a.speed = 1.0;
a.anims = animlist(pathfile);
if(a.anims) a.speed = 1.0;
return a;
}