Visible Check Bug
hello, after latest patcher of crossfire al my old method for visible check has crashing, but i using other but this method have some bug's ...
some players shows visible behind walls etc..., anyone know how i solve it ?.

some players shows visible behind walls etc..., anyone know how i solve it ?.

Code:
D3DXVECTOR3 MyGetObjectMaxPosition(INT *Object)
{
return *(D3DXVECTOR3 *)(Object + 0x4);
}
Old Method (Crashing now):
iQuery.Start = MyGetObjectMaxPosition(PlayerPostion->LTClients->pLocal->CameraObject);
Actual Method:
iQuery.Start = PlayerPostion->LTClients->pLocal->Position;
