mirror of
https://github.com/zeldaret/botw
synced 2026-07-08 05:40:38 -04:00
Update misc files to match sead math changes
This commit is contained in:
@@ -1822,8 +1822,8 @@ bool TriggerParam::shouldSkipRevivingShopItem(bool* is_shop_item, u32 flag_hash,
|
||||
if (!act::ActorSystem::instance()->getAutoPlacementActorPos(dealer, &pos))
|
||||
return false;
|
||||
|
||||
col = sead::clamp((int(pos.x) + 5000) / 1000, 0, 9);
|
||||
row = sead::clamp((int(pos.z) + 4000) / 1000, 0, 7);
|
||||
col = sead::Mathi::clamp((int(pos.x) + 5000) / 1000, 0, 9);
|
||||
row = sead::Mathi::clamp((int(pos.z) + 4000) / 1000, 0, 7);
|
||||
} else {
|
||||
num = areas.getSize();
|
||||
if (areas.tryGetIterByIndex(&iter, 0)) {
|
||||
|
||||
Reference in New Issue
Block a user