Skip to content

Commit

Permalink
Remove unused lambda capture
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Aug 12, 2024
1 parent eb8ab0e commit 3d9754d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/game/levelloader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Game LevelLoader::Load(const DatFile& datfile, const std::string& levelname, int
}
});

level.ForeachUnitInstance([&game, &level](const DatLevel::UnitInstance& ui) {
level.ForeachUnitInstance([&game](const DatLevel::UnitInstance& ui) {
game.Spawn<Unit>(Vector3f(ui.x, ui.y * 2, ui.z));
});

Expand Down

0 comments on commit 3d9754d

Please sign in to comment.