libprimis
libprimis copied to clipboard
Replace magic number flags in savec() with enumerated ones
The function savec()
, which recursively saves cubes to a file in worldio.cpp
, uses a set of internal flags which are defined ad-hoc. This should be replaced with an enumerator which makes the code clearer to read.