From 3bf9fee22be097a46280beba09a775cb861d12bb Mon Sep 17 00:00:00 2001 From: Vectozavr <60608292+vectozavr@users.noreply.github.com> Date: Tue, 19 Jul 2022 18:02:13 +0700 Subject: [PATCH] refactor --- Shooter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shooter.cpp b/Shooter.cpp index b60caf5..fb1bee0 100644 --- a/Shooter.cpp +++ b/Shooter.cpp @@ -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));