mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed: The first model ID was always initialized to 0, even if that model wasn't even present in the definition.
This commit is contained in:
parent
0877539315
commit
99a61e74c7
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ void gl_InitModels()
|
|||
path = "";
|
||||
sc.MustGetString();
|
||||
memset(&smf, 0, sizeof(smf));
|
||||
smf.modelIDs[1] = smf.modelIDs[2] = smf.modelIDs[3] = -1;
|
||||
smf.modelIDs[0] = smf.modelIDs[1] = smf.modelIDs[2] = smf.modelIDs[3] = -1;
|
||||
smf.xscale=smf.yscale=smf.zscale=1.f;
|
||||
|
||||
smf.type = PClass::FindClass(sc.String);
|
||||
|
|
Loading…
Reference in a new issue