Fixed corpse detection
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user