mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 09:06:55 -04:00
Fix game crashing when physics queue is cleared due to there being over 536 million physics entries (Thanks hypnotoad)
This commit is contained in:
parent
b155fb740a
commit
b5a19a7307
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user