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

This commit is contained in:
Tropical
2026-03-06 20:47:11 -06:00
parent 967ffbb2a6
commit 04ff82ba70
54 changed files with 126 additions and 126 deletions

View File

@@ -158,8 +158,8 @@ bool ItemEntity::merge(std::shared_ptr<ItemEntity> target)
if (targetItem->count + myItem->count > targetItem->getMaxStackSize()) return false;
targetItem->count += myItem->count;
target->throwTime = max(target->throwTime, this->throwTime);
target->age = min(target->age, this->age);
target->throwTime = std::max(target->throwTime, this->throwTime);
target->age = std::min(target->age, this->age);
target->setItem(targetItem);
remove();