Skip to content

Commit

Permalink
Replaced the assert_throw in unit_save.cpp:337 with an assert_log
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrettin committed Oct 11, 2021
1 parent 5672b0e commit 5e3c80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unit/unit_save.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ void SaveUnit(const CUnit &unit, CFile &file)
}
file.printf("},\n ");
} else {
assert_throw(unit.Resource.Active == 0);
assert_log(unit.Resource.Active == 0);
}
file.printf(" \"units-boarded-count\", %d,", unit.BoardCount);

Expand Down

0 comments on commit 5e3c80c

Please sign in to comment.