From fb560b7728432b0a982dba259ae6773fdf363860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20=F0=9F=91=A8=F0=9F=8F=BD=E2=80=8D=F0=9F=92=BB=20Copl?= =?UTF-8?q?an?= Date: Fri, 9 Jan 2026 15:27:41 -0800 Subject: [PATCH] fix(examples): tell user how to run example --- examples/models/models_animation_playing.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/models/models_animation_playing.c b/examples/models/models_animation_playing.c index fd708b7dd..59849a867 100644 --- a/examples/models/models_animation_playing.c +++ b/examples/models/models_animation_playing.c @@ -52,6 +52,10 @@ int main(void) // Load animation data int animsCount = 0; ModelAnimation *anims = LoadModelAnimations("resources/models/iqm/guyanim.iqm", &animsCount); + if (anims==0) { + TraceLog(LOG_ERROR, "Failed to load animations. You must run this example from the `examples/models` folder"); + return -1; + } int animFrameCounter = 0; DisableCursor(); // Catch cursor