mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
FIXED: Dark Link Apparition + Kokiri NPC spawn
This commit is contained in:
parent
81f30870aa
commit
247bbd9604
2 changed files with 3 additions and 3 deletions
|
@ -1163,7 +1163,7 @@ void Actor_Init(Actor* actor, GlobalContext* globalCtx) {
|
|||
actor->uncullZoneForward = 1000.0f;
|
||||
actor->uncullZoneScale = 350.0f;
|
||||
actor->uncullZoneDownward = 700.0f;
|
||||
if (CVar_GetS32("gDisableDrawDistance", 0) != 0) {
|
||||
if (CVar_GetS32("gDisableDrawDistance", 0) != 0 && actor->id != ACTOR_EN_TORCH2 && actor->id != ACTOR_EN_BLKOBJ) { // Extra check for Dark Link and his room
|
||||
actor->uncullZoneForward = 32767.0f;
|
||||
actor->uncullZoneScale = 32767.0f;
|
||||
actor->uncullZoneDownward = 32767.0f;
|
||||
|
@ -2690,7 +2690,7 @@ s32 func_800314B0(GlobalContext* globalCtx, Actor* actor) {
|
|||
s32 func_800314D4(GlobalContext* globalCtx, Actor* actor, Vec3f* arg2, f32 arg3) {
|
||||
f32 var;
|
||||
|
||||
if (CVar_GetS32("gDisableDrawDistance", 0) != 0) {
|
||||
if (CVar_GetS32("gDisableDrawDistance", 0) != 0 && actor->id != ACTOR_EN_TORCH2 && actor->id != ACTOR_EN_BLKOBJ) { // Extra check for Dark Link and his room
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1053,7 +1053,7 @@ void func_80A98CD8(EnKo* this) {
|
|||
this->actor.targetMode = info->targetMode;
|
||||
this->lookDist = info->lookDist;
|
||||
this->lookDist += this->collider.dim.radius;
|
||||
this->appearDist = info->appearDist;
|
||||
this->appearDist = CVar_GetS32("gDisableDrawDistance", 0) != 0 ? 32767 : info->appearDist;
|
||||
}
|
||||
|
||||
// Used to fetch actor animation?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue