- reset the path to "" before a model definition is parsed.

This commit is contained in:
Christoph Oelckers 2016-05-04 12:28:35 +02:00
parent fd8a59bd24
commit 54571beaca

View file

@ -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;