diff --git a/polymer/build/src/mdsprite.c b/polymer/build/src/mdsprite.c index 813b67d38..5fb692ed7 100644 --- a/polymer/build/src/mdsprite.c +++ b/polymer/build/src/mdsprite.c @@ -1653,6 +1653,12 @@ static void md3free (md3model *m) { s = &m->head.surfs[surfi]; if (s->tris) free(s->tris); + if (m->head.flags == 1337) + { + if (s->shaders) free(s->shaders); + if (s->uv) free(s->uv); + if (s->xyzn) free(s->xyzn); + } } free(m->head.surfs); } diff --git a/polymer/polymer/polymer.suo b/polymer/polymer/polymer.suo index 7b3a22397..5c7063796 100644 Binary files a/polymer/polymer/polymer.suo and b/polymer/polymer/polymer.suo differ