Ignore:
Timestamp:
01/05/17 13:50:41 (8 years ago)
Author:
epyon
Message:
  • mass update
File:
1 edited

Legend:

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

    r527 r529  
    135135        node->choice    = model_node_choice( table.get_unsigned( "choice", false ) );
    136136        node->chance    = table.get_float( "chance", 1.0f );
    137         node->weight    = table.get_unsigned( "weight", 1 );
     137        node->weight    = static_cast< uint16 >( table.get_unsigned( "weight", 1 ) );
    138138        node->mesh      = cmesh;
    139139        node->attach_id = attach_id;
Note: See TracChangeset for help on using the changeset viewer.