- // FIXME - Why this uses skeleton.num_joints and not Animation::numjoints? (are they equal?)
- // It seems skeleton.num_joints is 0 at this point, so this is useless.
- for (i = 0; i < Person::players[0]->skeleton.num_joints; i++) {
- for (j = 0; j < Animation::animations[knifesneakattackanim].frames.size(); j++) {
+ // FIXME - Why this uses skeleton.joints.size() and not Animation::numjoints? (are they equal?)
+ // It seems skeleton.joints.size() is 0 at this point, so this is useless.
+ for (unsigned i = 0; i < Person::players[0]->skeleton.joints.size(); i++) {
+ for (unsigned j = 0; j < Animation::animations[knifesneakattackanim].frames.size(); j++) {