mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 14:22:13 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
102e59036c
1 changed files with 1 additions and 1 deletions
|
@ -824,7 +824,7 @@ void DPolyobjInterpolation::Interpolate(fixed_t smoothratio)
|
||||||
bakverts[i*2 ] = *px;
|
bakverts[i*2 ] = *px;
|
||||||
bakverts[i*2+1] = *py;
|
bakverts[i*2+1] = *py;
|
||||||
|
|
||||||
if (bakverts[i * 2] != oldverts[i * 2] || bakverts[i * 2 + i] != oldverts[i * 2 + 1])
|
if (bakverts[i * 2] != oldverts[i * 2] || bakverts[i * 2 + 1] != oldverts[i * 2 + 1])
|
||||||
{
|
{
|
||||||
changed = true;
|
changed = true;
|
||||||
*px = oldverts[i * 2] + FixedMul(bakverts[i * 2] - oldverts[i * 2], smoothratio);
|
*px = oldverts[i * 2] + FixedMul(bakverts[i * 2] - oldverts[i * 2], smoothratio);
|
||||||
|
|
Loading…
Reference in a new issue