We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 187e656 + e944a38 commit 039d91dCopy full SHA for 039d91d
library/modules/Military.cpp
@@ -123,7 +123,7 @@ df::squad* Military::makeSquad(int32_t assignment_id)
123
124
for (const auto& routine : routines)
125
{
126
- df::squad_routine_schedulest* schedule = new df::squad_routine_schedulest[12];
+ df::squad_routine_schedulest* schedule = new df::squad_routine_schedulest();
127
auto &asched = schedule->month;
128
129
for(int kk=0; kk < 12; kk++)
0 commit comments