mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-01 09:42:27 +00:00
- Duke: Fix questionable setup in previous commit to interpolate SE_20_STRETCH_BRIDGE
.
This commit is contained in:
parent
05a05c6406
commit
befa5a933c
1 changed files with 4 additions and 21 deletions
|
@ -736,28 +736,11 @@ void spawneffector(DDukeActor* actor, TArray<DDukeActor*>* actors)
|
||||||
|
|
||||||
actor->temp_walls[i] = closewall;
|
actor->temp_walls[i] = closewall;
|
||||||
|
|
||||||
StartInterpolation(actor->temp_walls[i], Interp_Wall_X);
|
vertexscan(actor->temp_walls[i], [=](walltype* w)
|
||||||
StartInterpolation(actor->temp_walls[i], Interp_Wall_Y);
|
|
||||||
|
|
||||||
if (actor->temp_walls[i]->twoSided())
|
|
||||||
{
|
|
||||||
auto nwal = actor->temp_walls[i]->nextWall();
|
|
||||||
StartInterpolation(nwal, Interp_Wall_X);
|
|
||||||
StartInterpolation(nwal, Interp_Wall_Y);
|
|
||||||
nwal = nwal->point2Wall();
|
|
||||||
StartInterpolation(nwal, Interp_Wall_X);
|
|
||||||
StartInterpolation(nwal, Interp_Wall_Y);
|
|
||||||
|
|
||||||
if (nwal->twoSided())
|
|
||||||
{
|
{
|
||||||
nwal = nwal->nextWall();
|
StartInterpolation(w, Interp_Wall_X);
|
||||||
StartInterpolation(nwal, Interp_Wall_X);
|
StartInterpolation(w, Interp_Wall_Y);
|
||||||
StartInterpolation(nwal, Interp_Wall_Y);
|
});
|
||||||
nwal = nwal->point2Wall();
|
|
||||||
StartInterpolation(nwal, Interp_Wall_X);
|
|
||||||
StartInterpolation(nwal, Interp_Wall_Y);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue