mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
Rotation profiles limited to 8
This commit is contained in:
parent
6542bcbc6a
commit
c35057d1de
4 changed files with 12 additions and 12 deletions
|
|
@ -38,7 +38,7 @@ regfile::regfile(fs::path filename) : file(filename) {
|
|||
throw std::runtime_error("invalid region file magic number");
|
||||
}
|
||||
version = header[8];
|
||||
if (version > REGION_FORMAT_VERSION) {
|
||||
if (uint(version) > REGION_FORMAT_VERSION) {
|
||||
throw illegal_region_format(
|
||||
"region format "+std::to_string(version)+" is not supported");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue