bool Allocate(MeshFeatures what, int nVertices, DisplaySystem displaySystem)
{
bool result = false;
- if((!nVertices || nVertices == nVertices) && (!this.displaySystem || this.displaySystem == displaySystem))
+ if((!nVertices || this.nVertices == nVertices) && (!this.displaySystem || this.displaySystem == displaySystem))
{
flags |= what;
this.nVertices = nVertices;