diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index 64819f17b..20daab03c 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -7479,8 +7479,6 @@ static void dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t buffermode = obuffermode; setactivepage(activepage); }*/ - - setaspect_new(); } diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index 8e51d9173..f6d296d7b 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -5780,8 +5780,6 @@ void polymost_dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16 gshang = ogshang; gctang = ogctang; gstang = ogstang; - - setaspect_new(); } #ifdef USE_OPENGL diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index bba523954..72f900c6f 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -2875,7 +2875,11 @@ void G_DisplayRest(int32_t smoothratio) // TODO: get rid of the other outer apScriptGameEvent checks, too if (apScriptGameEvent[EVENT_DISPLAYREST]) #endif + { + int32_t vr=viewingrange, asp=yxaspect; VM_OnEvent(EVENT_DISPLAYREST, g_player[screenpeek].ps->i, screenpeek, -1, 0); + setaspect(vr, asp); + } if (g_player[myconnectindex].ps->newowner == -1 && ud.overhead_on == 0 && ud.crosshair && ud.camerasprite == -1) {