diff options
| author | Uneven Prankster <unevenprankster@protonmail.com> | 2023-11-16 21:12:27 -0300 |
|---|---|---|
| committer | Uneven Prankster <unevenprankster@protonmail.com> | 2023-11-16 21:12:27 -0300 |
| commit | 2bbf92ad5ae7708bf18ac7ef333e9a979d8d1bde (patch) | |
| tree | c9d22bb0d73d9cc0c8586e4d31c93a561ea8e910 /raylib/examples/models/models_loading_m3d.c | |
| parent | 1c0cc775732201f4c4d3ee0d6772be786b3b4aa1 (diff) | |
Working so hard like a soldiermain
Can't afford a thing on TV
Diffstat (limited to 'raylib/examples/models/models_loading_m3d.c')
| -rw-r--r-- | raylib/examples/models/models_loading_m3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/raylib/examples/models/models_loading_m3d.c b/raylib/examples/models/models_loading_m3d.c index 1e56d51..71dbc8d 100644 --- a/raylib/examples/models/models_loading_m3d.c +++ b/raylib/examples/models/models_loading_m3d.c @@ -50,7 +50,7 @@ int main(void) Model model = LoadModel(modelFileName); // Load the bind-pose model mesh and basic data // Load animations - unsigned int animsCount = 0; + int animsCount = 0; int animFrameCounter = 0, animId = 0; ModelAnimation *anims = LoadModelAnimations(modelFileName, &animsCount); // Load skeletal animation data @@ -85,7 +85,7 @@ int main(void) animFrameCounter = 0; animId++; - if (animId >= animsCount) animId = 0; + if (animId >= (int)animsCount) animId = 0; UpdateModelAnimation(model, anims[animId], 0); animPlaying = true; } |
