From aa9d9cf54a6d0044a7777479e0cc114621def96d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 2 Aug 2019 17:59:00 +0200 Subject: [PATCH] racing:: increased byat array size just in case --- racing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/racing.cpp b/racing.cpp index 94d6df81..07914388 100644 --- a/racing.cpp +++ b/racing.cpp @@ -418,7 +418,7 @@ void generate_track() { } } - int byat[256]; + int byat[65536]; for(int a=0; a<16; a++) byat[a] = 0; for(const auto s: rti) byat[s.from_track]++; for(int a=0; a<16; a++) printf("%d: %d\n", a, byat[a]);