mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 04:11:18 +00:00
Fix the interp-related Ancient Tomb FOF flickering.
Notably caused by a difference in behaviour between Software and GL that was already resynchronised in the 2.2 codebase.
This commit is contained in:
parent
9e3fdfeeb7
commit
2733571d27
1 changed files with 17 additions and 1 deletions
|
@ -2468,7 +2468,23 @@ void HWR_Subsector(size_t num)
|
||||||
|
|
||||||
if (gr_frontsector->ffloors)
|
if (gr_frontsector->ffloors)
|
||||||
{
|
{
|
||||||
if (gr_frontsector->moved)
|
boolean anyMoved = gr_frontsector->moved;
|
||||||
|
|
||||||
|
if (anyMoved == false)
|
||||||
|
{
|
||||||
|
for (rover = gr_frontsector->ffloors; rover; rover = rover->next)
|
||||||
|
{
|
||||||
|
sector_t *controlSec = §ors[rover->secnum];
|
||||||
|
|
||||||
|
if (controlSec->moved == true)
|
||||||
|
{
|
||||||
|
anyMoved = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (anyMoved == true)
|
||||||
{
|
{
|
||||||
gr_frontsector->numlights = sub->sector->numlights = 0;
|
gr_frontsector->numlights = sub->sector->numlights = 0;
|
||||||
R_Prep3DFloors(gr_frontsector);
|
R_Prep3DFloors(gr_frontsector);
|
||||||
|
|
Loading…
Reference in a new issue