Link npc_doc (#2851)

* Link npc_doc

* Remove changes causing regression in debug
This commit is contained in:
hev7
2025-11-24 05:09:19 +00:00
committed by GitHub
parent 4bc21e9bea
commit 3d69835884
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -1869,7 +1869,7 @@ config.libs = [
ActorRel(MatchingFor(ALL_GCN), "d_a_npc_clerkt"),
ActorRel(MatchingFor(ALL_GCN), "d_a_npc_coach"),
ActorRel(MatchingFor(ALL_GCN), "d_a_npc_df"),
ActorRel(NonMatching, "d_a_npc_doc"),
ActorRel(MatchingFor(ALL_GCN), "d_a_npc_doc"),
ActorRel(MatchingFor(ALL_GCN), "d_a_npc_doorboy"),
ActorRel(MatchingFor(ALL_GCN), "d_a_npc_drainSol"),
ActorRel(MatchingFor(ALL_GCN), "d_a_npc_du"),
+1 -1
View File
@@ -107,7 +107,7 @@ public:
int getOffHour() {
u16 var_r31 = (u16)home.angle.z;
var_r31 &= (u16)0x3E0;
var_r31 >>= 5;
var_r31 = var_r31 >> 5;
if (var_r31 < 24) {
return var_r31;
-1
View File
@@ -532,7 +532,6 @@ void daNpc_Doc_c::action() {
}
/* 809A7F3C-809A80B8 00139C 017C+00 1/0 0/0 0/0 .text beforeMove__11daNpc_Doc_cFv */
// NONMATCHING - small regalloc with getOffHour
void daNpc_Doc_c::beforeMove() {
if (mType == 0 && field_0xe34 == 0) {
int hour = 0;