mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-04-28 13:17:58 +03:00
Remove Shuffle Pots assert (#5145)
* Remove assert * Remove exceptions to the assert
This commit is contained in:
parent
7a6778c940
commit
d109aa795a
2 changed files with 0 additions and 4 deletions
|
@ -54,9 +54,6 @@ void ObjTsubo_RandomizerSpawnCollectible(ObjTsubo* potActor, PlayState* play) {
|
|||
void ObjTsubo_RandomizerInit(void* actorRef) {
|
||||
Actor* actor = static_cast<Actor*>(actorRef);
|
||||
|
||||
// Check for Lake Hylia specifically because the game spawns 2 pots out of bounds there for some reason.
|
||||
if (actor->id != ACTOR_OBJ_TSUBO || gPlayState->sceneNum == SCENE_LAKE_HYLIA || gPlayState->sceneNum == SCENE_HYRULE_CASTLE) return;
|
||||
|
||||
ObjTsubo* potActor = static_cast<ObjTsubo*>(actorRef);
|
||||
|
||||
potActor->potIdentity = OTRGlobals::Instance->gRandomizer->IdentifyPot(gPlayState->sceneNum, (s16)actor->world.pos.x, (s16)actor->world.pos.z);
|
||||
|
|
|
@ -1807,7 +1807,6 @@ PotIdentity Randomizer::IdentifyPot(s32 sceneNum, s32 posX, s32 posZ) {
|
|||
|
||||
if (location->GetRandomizerCheck() == RC_UNKNOWN_CHECK) {
|
||||
LUSLOG_WARN("IdentifyPot did not receive a valid RC value (%d).", location->GetRandomizerCheck());
|
||||
assert(false);
|
||||
} else {
|
||||
potIdentity.randomizerInf = rcToRandomizerInf[location->GetRandomizerCheck()];
|
||||
potIdentity.randomizerCheck = location->GetRandomizerCheck();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue