mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Fixed a minor typo in SurfaceSkin validity check.
This commit is contained in:
parent
b3b2eb42c6
commit
8bbc04a46f
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ void gl_InitModels()
|
||||||
sc.ScriptError("Too many models in %s", smf.type->TypeName.GetChars());
|
sc.ScriptError("Too many models in %s", smf.type->TypeName.GetChars());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (surface<0 || index >= MD3_MAX_SURFACES)
|
if (surface<0 || surface >= MD3_MAX_SURFACES)
|
||||||
{
|
{
|
||||||
sc.ScriptError("Invalid MD3 Surface %d in %s", MD3_MAX_SURFACES, smf.type->TypeName.GetChars());
|
sc.ScriptError("Invalid MD3 Surface %d in %s", MD3_MAX_SURFACES, smf.type->TypeName.GetChars());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue