fix a silly bug with framed faces. must have been tired

This commit is contained in:
Bill Currie 2000-11-20 05:26:14 +00:00
parent 0b120aecbc
commit ce5f4b92ca

View file

@ -338,7 +338,7 @@ fixup_center_face (struct box_def *box, int c_face)
}
for (i = 0; i < 4; i++) {
int ind = face_loop[c_face][i];
insert_cube_vertexen (box, ind, v[i], v[(i - 1) % 4]);
insert_cube_vertexen (box, ind, v[i], v[(i - 1) & 3]);
}
}