Building.cpp CreateSimple vertex issue

quadstrip has 11 indexes to vertexes, but only 10 vertexes are added
This commit is contained in:
Stijn Sanders 2021-01-13 20:03:26 +01:00 committed by GitHub
parent ea90760535
commit 8e0a90a34c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ void CBuilding::CreateSimple ()
float cap_height; float cap_height;
float ledge; float ledge;
for(int i=0; i<=10; i++) for(int i=0; i<10; i++)
qs.index_list.push_back(i); qs.index_list.push_back(i);
//How tall the flat-color roof is //How tall the flat-color roof is