mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 14:22:13 +00:00
Fixed sector floor offset compatibility parameter after floatification
See https://forum.zdoom.org/viewtopic.php?t=54690
This commit is contained in:
parent
7dd51d6d1c
commit
2327359d74
1 changed files with 3 additions and 2 deletions
|
@ -533,8 +533,9 @@ void SetCompatibilityParams()
|
|||
if (CompatParams[i+1] < numsectors)
|
||||
{
|
||||
sector_t *sec = §ors[CompatParams[i+1]];
|
||||
sec->floorplane.ChangeHeight(CompatParams[i+2]);
|
||||
sec->ChangePlaneTexZ(sector_t::floor, CompatParams[i+2] / 65536.);
|
||||
const double delta = CompatParams[i + 2] / 65536.0;
|
||||
sec->floorplane.ChangeHeight(delta);
|
||||
sec->ChangePlaneTexZ(sector_t::floor, delta);
|
||||
}
|
||||
i += 3;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue