bspfile.cc: fix handling of bsp format conversion

needs to return false so WriteBSPFile can upgrade to an extended limits format
This commit is contained in:
Eric Wasylishen 2021-12-15 22:48:44 -07:00
parent d6a17d022c
commit d0ea010acb
1 changed files with 1 additions and 0 deletions

View File

@ -1180,6 +1180,7 @@ bool ConvertBSPFormat(bspdata_t *bspdata, const bspversion_t *to_version)
}
catch (std::overflow_error e) {
LogPrint("LIMITS EXCEEDED ON {}\n", e.what());
return false;
}
bspdata->version = to_version;