diff --git a/src/gl/models/gl_models.cpp b/src/gl/models/gl_models.cpp index 22cc7479f8..bcf1d4f6a8 100644 --- a/src/gl/models/gl_models.cpp +++ b/src/gl/models/gl_models.cpp @@ -530,7 +530,6 @@ void gl_InitModels() { sc.ScriptError("MODELDEF: Unknown actor type '%s'\n", sc.String); } - GetDefaultByType(smf.type)->hasmodel=true; sc.MustGetStringName("{"); while (!sc.CheckString("}")) { @@ -744,6 +743,7 @@ void gl_InitModels() if (map[c]) continue; smf.frame=c; SpriteModelFrames.Push(smf); + GetDefaultByType(smf.type)->hasmodel = true; map[c]=1; } }