添加无限子弹模式

This commit is contained in:
aozhiwei 2021-12-22 11:12:42 +08:00
parent 93ab2d0b5c
commit 85a13ea581

View File

@ -106,6 +106,15 @@ Human::Human():Creature()
skin.skin_lv = 1;
}
weapons[0] = default_weapon;
inventory_[IS_1XSCOPE] = 1;
if (MetaMgr::Instance()->fighting_mode) {
inventory_[IS_9MM] = FIGHTING_MODE_BULLET_NUM;
inventory_[IS_556MM] = FIGHTING_MODE_BULLET_NUM;
inventory_[IS_762MM] = FIGHTING_MODE_BULLET_NUM;
inventory_[IS_12GAUGE] = FIGHTING_MODE_BULLET_NUM;
inventory_[IS_RPG] = FIGHTING_MODE_BULLET_NUM;
}
}
Human::~Human()