diff --git a/src/r_things.c b/src/r_things.c index 4c7798a58..f91db6317 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -2948,9 +2948,9 @@ static void R_DrawMaskedList (drawnode_t* head) for (r2 = head->next; r2 != head; r2 = r2->next) { - drawspandata_t ds = {0}; if (r2->plane) { + drawspandata_t ds = {0}; next = r2->prev; R_DrawSinglePlane(&ds, r2->plane, false); R_DoneWithNode(r2);