Fixed variable in loop - HL1MDLLoader.cpp
Commit 7e5a0acc48
made changes to HL1MDLLoader.cpp. Several variables have been renamed. A loop variable 'i' was renamed to faceIdx, but one reference was left unchanged.
pull/3303/head
parent
4ff5a06ef4
commit
03340787ec
|
@ -829,7 +829,7 @@ void HL1MDLLoader::read_meshes() {
|
|||
}
|
||||
} else {
|
||||
for (int faceIdx = 0; faceIdx < num_faces; ++faceIdx) {
|
||||
if (i & 1) {
|
||||
if (faceIdx & 1) {
|
||||
// Preserve winding order.
|
||||
mesh_faces.push_back(HL1MeshFace{
|
||||
tricmds[faceIdx + 1],
|
||||
|
|
Loading…
Reference in New Issue