Ignore:
Timestamp:
07/27/16 19:06:49 (9 years ago)
Author:
epyon
Message:
  • choice a enum instead of boolean - pattern support
File:
1 edited

Legend:

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

    r509 r510  
    104104
    105105        node->force     = table.get_boolean( "force", false );
    106         node->choice    = table.get_boolean( "choice", false );
     106        node->choice    = model_node_choice( table.get_unsigned( "choice", false ) );
    107107        node->chance    = table.get_float( "chance", 1.0f );
    108108        node->weight    = table.get_unsigned( "weight", 1 );
Note: See TracChangeset for help on using the changeset viewer.