Ignore:
Timestamp:
07/19/16 13:43:10 (9 years ago)
Author:
epyon
Message:
  • nv::engine upgrades
  • default_resource_manager implementation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine/model_manager.cc

    r507 r508  
    6464                if ( table.is_number( "attach" ) )
    6565                {
    66                         attach_id = table.get_integer( "attach", -1 );
     66                        attach_id = sint16( table.get_integer( "attach", -1 ) );
    6767                        //                              parent_id = 0;
    6868                }
     
    7171                        auto it = m->node_names.find( table.get_string_hash_64( "attach" ) );
    7272                        if ( it != m->node_names.end() )
    73                                 attach_id = it->second + 1;
     73                                attach_id = sint16( it->second + 1 );
    7474                        int error; int hack;
    7575                }
Note: See TracChangeset for help on using the changeset viewer.