CAutomobile::FireTruckControl and HydraulicControl

This commit is contained in:
aap 2019-07-26 14:27:13 +02:00
parent 7d6a04b5c6
commit 9a50a59a3c
12 changed files with 373 additions and 20 deletions

View file

@ -2023,11 +2023,11 @@ CColModel::operator=(const CColModel &other)
numVerts = 0;
for(i = 0; i < other.numTriangles; i++){
if(other.triangles[i].a > numVerts)
other.triangles[i].a = numVerts;
numVerts = other.triangles[i].a;
if(other.triangles[i].b > numVerts)
other.triangles[i].b = numVerts;
numVerts = other.triangles[i].b;
if(other.triangles[i].c > numVerts)
other.triangles[i].c = numVerts;
numVerts = other.triangles[i].c;
}
numVerts++;
if(vertices)