fix some breakage

This commit is contained in:
aap
2021-01-25 10:43:12 +01:00
parent 4f591aa87a
commit fef87b9219
2 changed files with 7 additions and 1 deletions

View File

@ -275,6 +275,10 @@ RemoveWheelCB(RwObject *object, void *arg)
void
CVehicleModelInfo::RemoveWheels(void)
{
#ifdef FIX_BUGS
if(m_clump == nil)
return;
#endif
RwObjectNameIdAssocation *desc = ms_vehicleDescs[m_vehicleType];
for(int i = 0; desc[i].name; i++){
RwObjectIdAssociation assoc;