Fix moving floors update

This commit is contained in:
Emile Belanger 2021-03-10 11:50:16 +00:00
parent bb5b3198e0
commit 38ec705fd3

View file

@ -336,6 +336,8 @@ static void UpdatePlaneVertices(FFlatVertexBuffer *fvb, sector_t* sec, int plane
if (plane == sector_t::floor && sec->transdoor) vt->z -= 1;
mapvt->z = vt->z;
}
fvb->mVertexBuffer->Upload(startvt * sizeof(FFlatVertex), countvt * sizeof(FFlatVertex));
}
//==========================================================================