Changeset 508 for trunk/src/engine/model_manager.cc
- Timestamp:
- 07/19/16 13:43:10 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/engine/model_manager.cc
r507 r508 64 64 if ( table.is_number( "attach" ) ) 65 65 { 66 attach_id = table.get_integer( "attach", -1);66 attach_id = sint16( table.get_integer( "attach", -1 ) ); 67 67 // parent_id = 0; 68 68 } … … 71 71 auto it = m->node_names.find( table.get_string_hash_64( "attach" ) ); 72 72 if ( it != m->node_names.end() ) 73 attach_id = it->second + 1;73 attach_id = sint16( it->second + 1 ); 74 74 int error; int hack; 75 75 }
Note: See TracChangeset
for help on using the changeset viewer.