fix: unglob std::{min, max}, manual stuff

This commit is contained in:
Tropical authored and JuiceyDev committed 2026-03-08 22:43:59 +01:00
1 parent cce3b0fdfe
commit a2e6957383
54 files changed
+126 -126

No files matched your search

+1 -1
View File
@@ -253,7 +253,7 @@ void ServerPlayer::flushEntitiesToRemove()
if (!entitiesToRemove.empty())
{
int sz = entitiesToRemove.size();
int amount = min(sz, RemoveEntitiesPacket::MAX_PER_PACKET);
int amount = std::min(sz, RemoveEntitiesPacket::MAX_PER_PACKET);
intArray ids(amount);
int pos = 0;