mirror of
https://github.com/halpz/re3.git
synced 2025-07-15 03:58:08 +00:00
CCarCtrl::GenerateOneRandomCar
This commit is contained in:
@ -1292,6 +1292,15 @@ CStreaming::StreamVehiclesAndPeds(void)
|
||||
else
|
||||
SetModelIsDeletable(MI_CHOPPER);
|
||||
|
||||
if (FindPlayerPed()->m_pWanted->AreMiamiViceRequired()) {
|
||||
//TODO(MIAMI): miami vice peds
|
||||
RequestModel(MI_VICECHEE, STREAMFLAGS_DONT_REMOVE);
|
||||
}
|
||||
else {
|
||||
SetModelIsDeletable(MI_VICECHEE);
|
||||
//TODO(MIAMI): miami vice peds
|
||||
}
|
||||
|
||||
if(timeBeforeNextLoad >= 0)
|
||||
timeBeforeNextLoad--;
|
||||
else if(ms_numVehiclesLoaded <= desiredNumVehiclesLoaded){
|
||||
|
@ -39,6 +39,12 @@ CWanted::Initialise()
|
||||
ClearQdCrimes();
|
||||
}
|
||||
|
||||
bool
|
||||
CWanted::AreMiamiViceRequired()
|
||||
{
|
||||
return m_nWantedLevel >= 3;
|
||||
}
|
||||
|
||||
bool
|
||||
CWanted::AreSwatRequired()
|
||||
{
|
||||
|
@ -31,6 +31,7 @@ public:
|
||||
|
||||
public:
|
||||
void Initialise();
|
||||
bool AreMiamiViceRequired();
|
||||
bool AreSwatRequired();
|
||||
bool AreFbiRequired();
|
||||
bool AreArmyRequired();
|
||||
|
Reference in New Issue
Block a user