Merge pull request #3303 from malortie/fix-loop-variable-HL1MDLLoader
Fixed variable in loop - HL1MDLLoader.cpppull/3301/head^2
commit
dea412c9a0
|
@ -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