1
This commit is contained in:
parent
0074d8a0bf
commit
98d422d657
@ -1205,7 +1205,7 @@ void Human::DoGetDown()
|
|||||||
int entity_uniid = room->CreateLoot(skin_tank.skin_id, pos, 1, 1);
|
int entity_uniid = room->CreateLoot(skin_tank.skin_id, pos, 1, 1);
|
||||||
Entity* loot_entity = room->GetEntityByUniId(entity_uniid);
|
Entity* loot_entity = room->GetEntityByUniId(entity_uniid);
|
||||||
if (loot_entity && loot_entity->entity_type == ET_Loot) {
|
if (loot_entity && loot_entity->entity_type == ET_Loot) {
|
||||||
((Loot*)loot_entity)->bullet_num = skin_tank.bullet_num;
|
((Loot*)loot_entity)->bullet_num = tank_weapon.ammo;
|
||||||
}
|
}
|
||||||
skin_tank = Skin();
|
skin_tank = Skin();
|
||||||
tank_weapon = Weapon();
|
tank_weapon = Weapon();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user