summaryrefslogtreecommitdiff
path: root/src/sector.c
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2023-04-11 00:03:29 +0300
committerkartofen <mladenovnasko0@gmail.com>2023-04-11 00:03:29 +0300
commita058f92f77438f7df07fa0e557595c620bce8f02 (patch)
tree8351621e60e907e18656be28328f7ac5147a4471 /src/sector.c
parent878726dbc3fd8803f436ee45b1e3ccff5693de24 (diff)
web build works
Diffstat (limited to 'src/sector.c')
-rw-r--r--src/sector.c2
1 files changed, 1 insertions, 1 deletions
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++)