1
This commit is contained in:
parent
5895149c83
commit
fed649fad7
@ -1271,7 +1271,7 @@ void Human::DeadDrop()
|
|||||||
GetCurrWeapon()->weapon_idx == GUN_SLOT1) {
|
GetCurrWeapon()->weapon_idx == GUN_SLOT1) {
|
||||||
int num = 1 + rand() % 2;
|
int num = 1 + rand() % 2;
|
||||||
for (int i = 0; i < num; ++i) {
|
for (int i = 0; i < num; ++i) {
|
||||||
room->ScatterDrop(GetPos().ToGlmVec3(), GetCurrWeapon()->meta->id());
|
room->CreateLoot(GetCurrWeapon()->meta->id(), GetPos().ToGlmVec3(), 1, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user