From 54571beacad6974597c581e1f446f4e1561aace6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 4 May 2016 12:28:35 +0200 Subject: [PATCH] - reset the path to "" before a model definition is parsed. --- src/gl/models/gl_models.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gl/models/gl_models.cpp b/src/gl/models/gl_models.cpp index 22a4913a7..22cc7479f 100644 --- a/src/gl/models/gl_models.cpp +++ b/src/gl/models/gl_models.cpp @@ -519,6 +519,7 @@ void gl_InitModels() { if (sc.Compare("model")) { + path = ""; sc.MustGetString(); memset(&smf, 0, sizeof(smf)); smf.modelIDs[1] = smf.modelIDs[2] = smf.modelIDs[3] = -1;