Skip to content

Commit

Permalink
Astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Aug 21, 2019
1 parent 84ad947 commit 5478321
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mapgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,8 @@ class jmapgen_monster : public jmapgen_piece

if( m_id != mongroup_id::NULL_ID() ) {
// Spawn single monster from a group
dat.m.place_spawns( m_id, 1, point(x.get(), y.get()), point(x.get(), y.get()), 1.0f, true, false,
dat.m.place_spawns( m_id, 1, point( x.get(), y.get() ), point( x.get(), y.get() ), 1.0f, true,
false,
name, mission_id );
} else {
int spawn_count = roll_remainder( density_multiplier );
Expand Down Expand Up @@ -6587,7 +6588,8 @@ void map::place_spawns( const mongroup_id &group, const int chance,
// Pick a monster type
MonsterGroupResult spawn_details = MonsterGroupManager::GetResultFromGroup( group, &num );

add_spawn( spawn_details.name, spawn_details.pack_size, point( x, y ), friendly, -1, mission_id, name );
add_spawn( spawn_details.name, spawn_details.pack_size, point( x, y ), friendly, -1, mission_id,
name );
}
}

Expand Down

0 comments on commit 5478321

Please sign in to comment.