Skip to content

Commit

Permalink
Don't initialize hordes with target of 0,0 (#74527)
Browse files Browse the repository at this point in the history
  • Loading branch information
RenechCDDA authored Jun 15, 2024
1 parent e52bd7f commit be7a566
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mongroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ struct mongroup {
unsigned int ppop )
: type( ptype )
, abs_pos( ppos )
, population( ppop ) {
, population( ppop )
, target( abs_pos.xy() ) {
}
mongroup( const std::string &ptype, const tripoint_abs_sm &ppos,
unsigned int ppop, point_abs_sm ptarget, int pint, bool pdie, bool phorde ) :
Expand Down

0 comments on commit be7a566

Please sign in to comment.