This commit is contained in:
aozhiwei 2021-01-20 19:32:29 +08:00
parent 55aea64c8c
commit 48f6aaa216

View File

@ -459,7 +459,7 @@ int Room::CreateLoot(int equip_id, a8::Vec2 pos, int count, int equip_lv)
if (equip_meta) { if (equip_meta) {
#if 1 #if 1
if (equip_meta->i->equip_type() == EQUIP_TYPE_SKIN) { if (equip_meta->i->equip_type() == EQUIP_TYPE_SKIN) {
return; return 0;
} }
#endif #endif
Loot* entity = EntityFactory::Instance()->MakeLoot(AllocUniid()); Loot* entity = EntityFactory::Instance()->MakeLoot(AllocUniid());