Skip to content

Commit e944a38

Browse files
fix make squad from the great reorg
1 parent 2a116f9 commit e944a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/modules/Military.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ df::squad* Military::makeSquad(int32_t assignment_id)
123123

124124
for (const auto& routine : routines)
125125
{
126-
df::squad_routine_schedulest* schedule = new df::squad_routine_schedulest[12];
126+
df::squad_routine_schedulest* schedule = new df::squad_routine_schedulest();
127127
auto &asched = schedule->month;
128128

129129
for(int kk=0; kk < 12; kk++)

0 commit comments

Comments
 (0)