Skip to content

Commit 88c7d08

Browse files
committed
Fix missing static
1 parent df7c8f8 commit 88c7d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/tr_bsp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ static void ParseTriangleSurface( dsurface_t* ds, drawVert_t* verts, bspSurface_
919919

920920
// We may have a nodraw surface, because they might still need to be around for movement clipping
921921
if ( s_worldData.shaders[LittleLong( ds->shaderNum )].surfaceFlags & SURF_NODRAW ) {
922-
surfaceType_t skipData = surfaceType_t::SF_SKIP;
922+
static surfaceType_t skipData = surfaceType_t::SF_SKIP;
923923
surf->data = &skipData;
924924
return;
925925
}

0 commit comments

Comments
 (0)