mirror of
https://github.com/halpz/re3.git
synced 2025-07-03 04:20:46 +00:00
some more CStreaming + fixes by erorcun
This commit is contained in:
@ -608,7 +608,7 @@ CPed::IsPedHeadAbovePos(float zOffset)
|
||||
RwMatrix mat;
|
||||
|
||||
CPedIK::GetWorldMatrix(GetNodeFrame(PED_HEAD), &mat);
|
||||
return zOffset + GetPosition().z >= mat.pos.z;
|
||||
return zOffset + GetPosition().z < RwMatrixGetPos(&mat)->z;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user