mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
fail
This commit is contained in:
parent
db1bdfd62d
commit
9d6db921bd
@ -1693,17 +1693,6 @@ void CMissionCleanup::AddEntityToList(int32 id, uint8 type)
|
|||||||
m_nCount++;
|
m_nCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void PossiblyWakeThisEntity(CPhysical* pEntity, bool ifColLoaded = false)
|
|
||||||
{
|
|
||||||
if (!pEntity->bIsStaticWaitingForCollision)
|
|
||||||
return;
|
|
||||||
if (!ifColLoaded || CColStore::HasCollisionLoaded(pEntity->GetPosition())) {
|
|
||||||
pEntity->bIsStaticWaitingForCollision = false;
|
|
||||||
if (!pEntity->GetIsStatic())
|
|
||||||
pEntity->AddToMovingList();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void CMissionCleanup::RemoveEntityFromList(int32 id, uint8 type)
|
void CMissionCleanup::RemoveEntityFromList(int32 id, uint8 type)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < MAX_CLEANUP; i++){
|
for (int i = 0; i < MAX_CLEANUP; i++){
|
||||||
|
Loading…
Reference in New Issue
Block a user