From df03d5eeb4c235117f23d4f288ac8459dff4c3c2 Mon Sep 17 00:00:00 2001 From: Nev3r Date: Fri, 13 Dec 2019 12:30:05 +0100 Subject: [PATCH] Does what the previous commit said it did. --- src/p_setup.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index fad50469c..b3ccfd3a9 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -2560,8 +2560,9 @@ static boolean LoadMapBSP (const virtres_t* virt) data += 4; /// Extended node formats feature additional vertexes; useful for OpenGL, but totally useless in gamelogic. - UINT32 orivtx = READUINT32(data); - UINT32 xtrvtx = READUINT32(data); + UINT32 orivtx, xtrvtx; + orivtx = READUINT32(data); + xtrvtx = READUINT32(data); if (numvertexes != orivtx) /// If native vertex count doesn't match node original vertex count, bail out (broken data?). {