mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 13:29:47 +00:00
CCarCtrl::GenerateOneRandomCar
This commit is contained in:
@ -199,6 +199,13 @@ CModelInfo::IsBikeModel(int32 id)
|
||||
((CVehicleModelInfo*)GetModelInfo(id))->m_vehicleType == VEHICLE_TYPE_BIKE;
|
||||
}
|
||||
|
||||
bool
|
||||
CModelInfo::IsCarModel(int32 id)
|
||||
{
|
||||
return GetModelInfo(id)->GetModelType() == MITYPE_VEHICLE &&
|
||||
((CVehicleModelInfo*)GetModelInfo(id))->m_vehicleType == VEHICLE_TYPE_CAR;
|
||||
}
|
||||
|
||||
void
|
||||
CModelInfo::ReInit2dEffects()
|
||||
{
|
||||
|
@ -39,5 +39,6 @@ public:
|
||||
|
||||
static bool IsBoatModel(int32 id);
|
||||
static bool IsBikeModel(int32 id);
|
||||
static bool IsCarModel(int32 id);
|
||||
static void ReInit2dEffects();
|
||||
};
|
||||
|
Reference in New Issue
Block a user