1
This commit is contained in:
parent
ce91497c03
commit
d0a59e06d3
@ -2166,20 +2166,6 @@ void Room::CreateLoots()
|
|||||||
1
|
1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
if (loot_uniid && equip_meta->i->equip_type() == EQUIP_TYPE_CAR) {
|
|
||||||
Entity* loot_entity = GetEntityByUniId(loot_uniid);
|
|
||||||
if (loot_entity && loot_entity->IsEntityType(ET_Loot)) {
|
|
||||||
((Loot*)loot_entity)->bullet_num = equip_meta->i->clip_volume();
|
|
||||||
((Loot*)loot_entity)->param1 = MetaMgr::Instance()->max_oil;
|
|
||||||
((Loot*)loot_entity)->param2 = MetaMgr::Instance()->max_oil;
|
|
||||||
CarObject car;
|
|
||||||
car.car_id = equip_meta->i->id();
|
|
||||||
car.pos = loot_entity->GetPos();
|
|
||||||
car_hash_[loot_entity->GetUniId()] = car;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user