Added some comment which will cause an error when enabling the exception.
This commit is contained in:
parent
a75cf64c01
commit
7629457cb0
1 changed files with 6 additions and 3 deletions
|
@ -166,9 +166,12 @@ std::string recruit_unit(const gamemap& map, int side,
|
|||
config cfg_unit1;
|
||||
new_unit.write(cfg_unit1);
|
||||
::write(std::cerr, cfg_unit1);
|
||||
// FIXME: this was not playtested, so I will disable it
|
||||
// for release.
|
||||
//if (!game_config::ignore_replay_errors) throw replay::error();
|
||||
// FIXME enabling this exception will trigger an assertion failure
|
||||
// in display.cpp:1010 when loading a map (the cause of that OOS
|
||||
// will be fixed soon). (Only tested in SP for bug #9728)
|
||||
// if (!game_config::ignore_replay_errors) {
|
||||
// throw replay::error("OOS while recruiting.");
|
||||
// }
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue