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

This commit is contained in:
RD42 2024-05-05 18:19:43 +08:00
parent 34e3becac1
commit ddb2440aab
2 changed files with 10 additions and 0 deletions

View File

@ -1189,6 +1189,14 @@ OBJECT_TYPE * GamePool_GetObject()
//-----------------------------------------------------------
void ReplaceBuildingModel(ENTITY_TYPE *pEntity, int iModelID)
{
_asm push iModelID
_asm mov ecx, pEntity
_asm mov edx, 0x403EC0
_asm call edx
}
//-----------------------------------------------------------
// Translate Weapon model ID into actual weapon ID.

View File

@ -39,3 +39,5 @@ BUILDING_TYPE * GamePool_GetBuilding();
DUMMY_TYPE * GamePool_GetDummy();
OBJECT_TYPE * GamePool_GetObject();
void ReplaceBuildingModel(ENTITY_TYPE *pEntity, int iModelID);