mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 16:50:07 +00:00
small thing
This commit is contained in:
parent
b4b9f9601b
commit
29b76fc4f5
|
@ -1673,6 +1673,23 @@ void CMissionCleanup::Init()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void SleepThisPed(cleanup_entity_struct* pCleanup, CPed* pPed)
|
||||||
|
{
|
||||||
|
printf("*** SLEEPING PED %i %i\n", pCleanup->id, pPed->GetModelIndex());
|
||||||
|
if (!pPed->GetIsStatic())
|
||||||
|
pPed->RemoveFromMovingList();
|
||||||
|
pPed->bIsStaticWaitingForCollision = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void WakeThisPed(cleanup_entity_struct* pCleanup, CPed* pPed)
|
||||||
|
{
|
||||||
|
printf("*** WAKING UP PED %i %i\n", pCleanup->id, pPed->GetModelIndex());
|
||||||
|
pPed->bIsStaticWaitingForCollision = false;
|
||||||
|
if (!pPed->bIsStatic)
|
||||||
|
pPed->AddToMovingList();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
cleanup_entity_struct* CMissionCleanup::FindFree()
|
cleanup_entity_struct* CMissionCleanup::FindFree()
|
||||||
{
|
{
|
||||||
for (int i = 0; i < MAX_CLEANUP; i++){
|
for (int i = 0; i < MAX_CLEANUP; i++){
|
||||||
|
|
Loading…
Reference in a new issue