aboutsummaryrefslogtreecommitdiff
path: root/src/Skeleton.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-09 23:07:32 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-09 23:37:37 +0700
commit48417e11854f832c40a42ec497cad3b275b57b2e (patch)
tree73162cd7294a49ba39f0f06afd16da74dee0f6da /src/Skeleton.cpp
parente4888c19818ef61264ea4e1b0da9ebdc302f1483 (diff)
downloadblackshades-48417e11854f832c40a42ec497cad3b275b57b2e.tar.gz
Make XYZ C-compatible
Diffstat (limited to 'src/Skeleton.cpp')
-rw-r--r--src/Skeleton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Skeleton.cpp b/src/Skeleton.cpp
index e5cdd7a..dc5cdf8 100644
--- a/src/Skeleton.cpp
+++ b/src/Skeleton.cpp
@@ -465,7 +465,7 @@ void Skeleton::reload()
joints[i].existing = true;
joints[i].locked = false;
- joints[i].velocity = 0;
+ joints[i].velocity = {};
joints[i].oldposition = joints[i].position;
}