Skip to content

Commit

Permalink
style fix in skelzonekey::addbones
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Sep 10, 2023
1 parent 376f3fc commit 70f2a33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/engine/model/hitzone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,10 @@ void skelzonekey::addbones(const skelmodel::skelmesh *m, const skelmodel::tri &t
const skelmodel::blendcombo &c2 = g->blendcombos[b2];
for(int i = 0; i < 4; ++i)
{
if(c2.weights[i]) addbone(c2.bones[i]);
if(c2.weights[i])
{
addbone(c2.bones[i]);
}
}
}
else
Expand Down

0 comments on commit 70f2a33

Please sign in to comment.