fix explosions breaking old replays

This commit is contained in:
2025-01-16 15:28:06 -06:00
parent afa79bcc5d
commit df02f79ab8
7 changed files with 31 additions and 9 deletions

View File

@@ -264,6 +264,9 @@ static void process_args(int argc, char* argv[]) {
cli.writeToStream(std::cout);
exit(0);
}
// This obsolete preference should always be true unless running an old replay
// (which will set it false after this line if it needs to)
set_pref("DrawTerrainFrills", true);
if(replay){
if(record_to){
std::cout << "Warning: flag --record conflicts with --replay and will be ignored." << std::endl;