diff --git a/source/games/duke/src/actors.cpp b/source/games/duke/src/actors.cpp index 88e94d733..de36851cf 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -833,9 +833,12 @@ void movecrane(int i, int crane) else if (s->owner == -2) { auto ang = ps[p].getang(); - ps[p].oposx = ps[p].posx = s->x - (sintable[(ang + 512) & 2047] >> 6); - ps[p].oposy = ps[p].posy = s->y - (sintable[ang & 2047] >> 6); - ps[p].oposz = ps[p].posz = s->z + (2 << 8); + ps[p].oposx = ps[p].posx; + ps[p].oposy = ps[p].posy; + ps[p].oposz = ps[p].posz; + ps[p].posx = s->x - (sintable[(ang + 512) & 2047] >> 6); + ps[p].posy = s->y - (sintable[ang & 2047] >> 6); + ps[p].posz = s->z + (2 << 8); setsprite(ps[p].i, ps[p].posx, ps[p].posy, ps[p].posz); ps[p].cursectnum = sprite[ps[p].i].sectnum; } diff --git a/source/games/duke/src/render.cpp b/source/games/duke/src/render.cpp index 56c9d7e1a..2a9cef2e1 100644 --- a/source/games/duke/src/render.cpp +++ b/source/games/duke/src/render.cpp @@ -489,8 +489,6 @@ void displayrooms(int snum, int smoothratio) newaspect_enable = 1; videoSetCorrectedAspect(); - if (!playrunning() || ps[snum].on_crane > -1) smoothratio = MaxSmoothRatio; - sect = p->cursectnum; if (sect < 0 || sect >= MAXSECTORS) return;