diff --git a/src/player_script.cpp b/src/player_script.cpp index a9f7b32..4c37cc6 100644 --- a/src/player_script.cpp +++ b/src/player_script.cpp @@ -45,11 +45,7 @@ game::player::player(const glm::vec3& initial_position, const float& y_rotation) hand_cubes.push_back(new power_cube(this, &game::cube_presets::jumping)); hand_cubes.push_back(new power_cube(this, &game::cube_presets::speed)); gun_cubes.push_back(new power_cube(this, &game::cube_presets::dash)); - gun_cubes.push_back(new power_cube(this, &game::cube_presets::missle)); - unused_cubes.push_back(new power_cube(this, &game::cube_presets::jumping)); - unused_cubes.push_back(new power_cube(this, &game::cube_presets::speed)); - unused_cubes.push_back(new power_cube(this, &game::cube_presets::dash)); - unused_cubes.push_back(new power_cube(this, &game::cube_presets::missle)); + gun_cubes.push_back(new power_cube(this, &game::cube_presets::jumping)); set_ui_cube_positions(); recoil_rb.movement_drag = 100.0f; scope_rb.movement_drag = 200.0f; diff --git a/src/player_script.h b/src/player_script.h index 5d0bcda..e58bb5d 100644 --- a/src/player_script.h +++ b/src/player_script.h @@ -94,7 +94,7 @@ namespace game { glm::vec2 rot = glm::vec2(0.0f); int max_hand_cubes = 2; - int max_gun_cubes = 3; + int max_gun_cubes = 2; std::deque hand_cubes; std::deque gun_cubes;