mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed: Ceiling render hack segments were inserted into the floor list and incorrectly rendered.
This commit is contained in:
parent
3aef8418d9
commit
426ee2b78e
1 changed files with 2 additions and 2 deletions
|
@ -763,12 +763,12 @@ void HWDrawInfo::PrepareUpperGap(seg_t * seg)
|
|||
CreateFloodPoly(&ws, vertices.first+4, ws.z2, fakebsector, true);
|
||||
|
||||
gl_floodrendernode *node = NewFloodRenderNode();
|
||||
auto pNode = floodFloorSegs.CheckKey(fakebsector->sectornum);
|
||||
auto pNode = floodCeilingSegs.CheckKey(fakebsector->sectornum);
|
||||
|
||||
node->next = pNode? *pNode : nullptr;
|
||||
node->seg = seg;
|
||||
node->vertexindex = vertices.second;
|
||||
floodFloorSegs[fakebsector->sectornum] = node;
|
||||
floodCeilingSegs[fakebsector->sectornum] = node;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue