master
Vectozavr 2022-07-19 18:02:13 +07:00
parent 2cba7ebd89
commit 3bf9fee22b
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ void Shooter::changeEnemyWeapon(const std::string &weaponName, sf::Uint16 enemyI
world->removeBody(weaponTag);
enemy->unattach(weaponTag);
world->loadBody(weaponTag, "obj/" + weaponName + ".obj");
world->loadBody(weaponTag, "obj/items/" + weaponName + ".obj");
world->body(weaponTag)->setCollider(false);
world->body(weaponTag)->scale(Vec3D(3, 3, 3));