Commit 293a7284 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

engine: prevent leak of address of object on stack in polymost_dorotatespritemodel()

parent 2ba642e3
......@@ -8978,6 +8978,7 @@ void polymost_dorotatespritemodel(int32_t sx, int32_t sy, int32_t z, int16_t a,
spriteext[tspr.owner].mdpivot_offset.z = 0;
spriteext[tspr.owner].mdroll = 0;
tspriteptr[maxspritesonscreen] = nullptr;
buildgl_setDisabled(GL_ALPHA_TEST);
buildgl_setDisabled(GL_BLEND);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment