Skip to content

Commit

Permalink
build: fix clang builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jeefo committed Jun 2, 2024
1 parent 8dece62 commit 61036ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ void PlayerHitboxEnumerator::update (edict_t *ent) {
parts->feet.z = ent->v.origin.z - kStandFeet;
}

auto getHitbox = [&kInvalidHitbox] (studiohdr_t *hdr, mstudiobbox_t *bb, int part) {
auto getHitbox = [&] (studiohdr_t *hdr, mstudiobbox_t *bb, int part) {
int hitbox = kInvalidHitbox;

for (auto i = 0; i < hdr->numhitboxes; ++i) {
Expand Down

0 comments on commit 61036ec

Please sign in to comment.