From b5a19a73075d45f2226c71758d72bb99fe72343c Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 10 Mar 2022 07:59:13 +1100 Subject: [PATCH] Fix game crashing when physics queue is cleared due to there being over 536 million physics entries (Thanks hypnotoad) --- src/BlockPhysics.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/BlockPhysics.c b/src/BlockPhysics.c index 0dec10b27..ca0abd0e2 100644 --- a/src/BlockPhysics.c +++ b/src/BlockPhysics.c @@ -46,7 +46,6 @@ static void TickQueue_Resize(struct TickQueue* queue) { if (queue->capacity >= (Int32_MaxValue / 4)) { Chat_AddRaw("&cToo many physics entries, clearing"); TickQueue_Clear(queue); - return; } capacity = queue->capacity * 2;