diff --git a/source/build/src/voxmodel.cpp b/source/build/src/voxmodel.cpp index 8dc6dd486..18a7359ce 100644 --- a/source/build/src/voxmodel.cpp +++ b/source/build/src/voxmodel.cpp @@ -1177,9 +1177,10 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr) #else vt->SetTexCoord(((float)vptr[j].u)*ru, ((float)vptr[j].v)*rv); #endif - vt->x = ((float)vptr[j].x) - phack[xx>vptr[j].x*2] + phack[xxy = ((float)vptr[j].y) - phack[yy>vptr[j].y*2] + phack[yyz = ((float)vptr[j].z) - phack[zz>vptr[j].z*2] + phack[zzSetVertex( + ((float)vptr[j].x) - phack[xx > vptr[j].x * 2] + phack[xx < vptr[j].x * 2], + ((float)vptr[j].y) - phack[yy > vptr[j].y * 2] + phack[yy < vptr[j].y * 2], + ((float)vptr[j].z) - phack[zz > vptr[j].z * 2] + phack[zz < vptr[j].z * 2]); } qdone++; }