From a058f92f77438f7df07fa0e557595c620bce8f02 Mon Sep 17 00:00:00 2001 From: kartofen Date: Tue, 11 Apr 2023 00:03:29 +0300 Subject: web build works --- src/sector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sector.c') diff --git a/src/sector.c b/src/sector.c index a76b698..c315382 100644 --- a/src/sector.c +++ b/src/sector.c @@ -34,7 +34,7 @@ int map_draw(map_t *map, int SW, int SH) head = (head+1) % MAX_QUEUE; struct render_info now = queue[head]; - if(sect_rendered[now.sectno] >= 30) continue; + if(sect_rendered[now.sectno] >= 5) continue; struct sector *sect = &map->sectors[now.sectno]; for(size_t i = 0; i < sect->nverts; i++) -- cgit v1.2.3