Skip to content

Commit

Permalink
Randomer classes
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFuji committed Jan 9, 2019
1 parent fb86b03 commit 21a13d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ void npc::randomize( const npc_class_id &type )
if( !type.is_valid() ) {
debugmsg( "Invalid NPC class %s", type.c_str() );
myclass = npc_class_id::NULL_ID();
} else if( type.is_null() && !one_in( 5 ) ) {
} else if( type.is_null() ) {
myclass = npc_class::random_common();
} else {
myclass = type;
Expand Down

0 comments on commit 21a13d1

Please sign in to comment.