Fix game crashing when physics queue is cleared due to there being over 536 million physics entries (Thanks hypnotoad)

This commit is contained in:
UnknownShadow200 2022-03-10 07:59:13 +11:00
parent b155fb740a
commit b5a19a7307

View File

@ -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;