Skip to content

Commit

Permalink
More lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-tomas committed Oct 30, 2023
1 parent ff97d82 commit 5331bf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bloss1/src/ecs/scene_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ namespace bls
{
std::ofstream scene(file);

for (const auto &[id, name] : ecs.names)
for (const auto &[id, entity_name] : ecs.names)
{
scene << "[" << name << "]"
scene << "[" << entity_name << "]"
<< "\n";
scene << "{"
<< "\n";
Expand Down
4 changes: 2 additions & 2 deletions bloss1/src/ecs/systems/player_controller_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ namespace bls

bullet_transform.scale = vec3(15.0f);

PhysicsObject object = PhysicsObject(vec3(0.0f), vec3(10000.0f), front * 500'000.0f, 15.0f);
PhysicsObject bullet_object = PhysicsObject(vec3(0.0f), vec3(10000.0f), front * 500'000.0f, 15.0f);

shoot(ecs, bullet_transform, object);
shoot(ecs, bullet_transform, bullet_object);
player_timers[PLAYER_TIMER_STR_SHOOT_COOLDOWN] = 0.0f;
}
}
Expand Down

0 comments on commit 5331bf7

Please sign in to comment.