Changeset 540 for trunk/src/engine/ragdoll_manager.cc
- Timestamp:
- 01/25/17 20:20:45 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/engine/ragdoll_manager.cc
r539 r540 75 75 float radius = table["radius"].get_f32(); 76 76 float length = 0.0f; 77 if ( table .has_field( "target" ))77 if ( table[ "target" ] ) 78 78 { 79 79 const auto& of = bind_data->get_bone_transforms().m_offsets; … … 97 97 part.limits = table["limits"].as< vec3 >(); 98 98 } 99 uint32 child_count = table. get_size();99 uint32 child_count = table.size(); 100 100 bool result = true; 101 101 if ( child_count > 0 )
Note: See TracChangeset
for help on using the changeset viewer.