Fixed corpse detection

This commit is contained in:
Héctor Giménez
2023-05-18 22:05:18 +09:00
parent 080f09c9f5
commit 5dae8f019f

View File

@@ -43,7 +43,8 @@ func (gd *GameReader) GetPlayerUnitPtr(roster data.Roster) (playerUnitPtr uintpt
Y: int(yPos),
},
}
} else {
}
if baseCheck > 0 {
playerUnitPtr = playerUnit
} else {
@@ -66,7 +67,6 @@ func (gd *GameReader) GetPlayerUnitPtr(roster data.Roster) (playerUnitPtr uintpt
}
}
}
}
playerUnit = uintptr(gd.Process.ReadUInt(playerUnit+0x150, Uint64))
}