Skip to content

Commit 6ba4f97

Browse files
committed
complete ctors in skelcommands ragdoll gen
1 parent 5eae4bd commit 6ba4f97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/engine/model/skelmodel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ struct skelcommands : modelcommands<MDL>
15341534
{
15351535
return;
15361536
}
1537-
ragdoll->verts.push_back({vec(*x, *y, *z), *radius > 0 ? *radius : 1});
1537+
ragdoll->verts.push_back({vec(*x, *y, *z), *radius > 0 ? *radius : 1, 0.f});
15381538
}
15391539

15401540
/**
@@ -1579,7 +1579,7 @@ struct skelcommands : modelcommands<MDL>
15791579
{
15801580
return;
15811581
}
1582-
ragdoll->joints.push_back({*n, *t, {*v1, *v2, *v3}});
1582+
ragdoll->joints.push_back({*n, *t, {*v1, *v2, *v3}, 0.f, matrix4x3()});
15831583
}
15841584

15851585
static void rdlimitdist(const int *v1, const int *v2, const float *mindist, const float *maxdist)

0 commit comments

Comments
 (0)