mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-23 16:11:10 +00:00
Fix moving floors update
This commit is contained in:
parent
bb5b3198e0
commit
38ec705fd3
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue