mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 21:41:30 +00:00
- reset the path to "" before a model definition is parsed.
This commit is contained in:
parent
fd8a59bd24
commit
54571beaca
1 changed files with 1 additions and 0 deletions
|
@ -519,6 +519,7 @@ void gl_InitModels()
|
||||||
{
|
{
|
||||||
if (sc.Compare("model"))
|
if (sc.Compare("model"))
|
||||||
{
|
{
|
||||||
|
path = "";
|
||||||
sc.MustGetString();
|
sc.MustGetString();
|
||||||
memset(&smf, 0, sizeof(smf));
|
memset(&smf, 0, sizeof(smf));
|
||||||
smf.modelIDs[1] = smf.modelIDs[2] = smf.modelIDs[3] = -1;
|
smf.modelIDs[1] = smf.modelIDs[2] = smf.modelIDs[3] = -1;
|
||||||
|
|
Loading…
Reference in a new issue