mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +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;
|
||||
|
||||
StartInterpolation(actor->temp_walls[i], Interp_Wall_X);
|
||||
StartInterpolation(actor->temp_walls[i], Interp_Wall_Y);
|
||||
|
||||
if (actor->temp_walls[i]->twoSided())
|
||||
vertexscan(actor->temp_walls[i], [=](walltype* w)
|
||||
{
|
||||
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(nwal, Interp_Wall_X);
|
||||
StartInterpolation(nwal, Interp_Wall_Y);
|
||||
nwal = nwal->point2Wall();
|
||||
StartInterpolation(nwal, Interp_Wall_X);
|
||||
StartInterpolation(nwal, Interp_Wall_Y);
|
||||
}
|
||||
}
|
||||
StartInterpolation(w, Interp_Wall_X);
|
||||
StartInterpolation(w, Interp_Wall_Y);
|
||||
});
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue