[saco] Implement and match HasCollisionLoaded(...)

This commit is contained in:
RD42 2024-05-06 22:32:07 +08:00
parent 21d9e69510
commit 6b2e018270
2 changed files with 19 additions and 0 deletions

View File

@ -1452,6 +1452,23 @@ bool unnamed_100B4B50(VECTOR *vecPos)
//----------------------------------------------------
bool HasCollisionLoaded(VECTOR *vec)
{
bool bResult = false;
_asm push 0
_asm push vec
_asm mov edx, 0x410CE0
_asm call edx
_asm mov bResult, al
_asm pop edx
_asm pop edx
return bResult;
}
//----------------------------------------------------

View File

@ -47,3 +47,5 @@ OBJECT_TYPE * GamePool_GetObject();
void ReplaceBuildingModel(ENTITY_TYPE *pEntity, int iModelID);
int GetInvalidModelInfoCount();
bool HasCollisionLoaded(VECTOR *vec);