From da87a34a6f37c6bf0787d80797e27c1b771070fa Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 21 Sep 2014 09:40:41 +0200 Subject: [PATCH] - fixed: MODELDEF's FrameIndex command was case sensitive. --- src/gl/models/gl_models.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/models/gl_models.cpp b/src/gl/models/gl_models.cpp index babab5050..96d604ecb 100644 --- a/src/gl/models/gl_models.cpp +++ b/src/gl/models/gl_models.cpp @@ -542,7 +542,7 @@ void gl_InitModels() smf.sprite = -1; for (i = 0; i < (int)sprites.Size (); ++i) { - if (strncmp (sprites[i].name, sc.String, 4) == 0) + if (strnicmp (sprites[i].name, sc.String, 4) == 0) { if (sprites[i].numframes==0) {