diff --git a/code/ryzom/client/src/interface_v3/action_handler_game.cpp b/code/ryzom/client/src/interface_v3/action_handler_game.cpp index ab3facd0b..420b003a9 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_game.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_game.cpp @@ -2484,7 +2484,7 @@ class CAHAddShape : public IActionHandler fromString(getParam(Params, "angle"), a); userDir = CVector(sin(a), cos(a), 0.f); } - + bool have_shapes = true; bool first_shape = true; while(have_shapes) @@ -2554,7 +2554,7 @@ class CAHAddShape : public IActionHandler if (!skeleton.empty()) { USkeleton skel = Scene->createSkeleton(skeleton); - if (!skel.empty()) + if (!skel.empty()) { skel.bindSkin(instance); skel.setClusterSystem(UserEntity->getClusterSystem());