mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 22:43:01 +00:00
fix inability to save 1.1.8 .dmf
This commit is contained in:
parent
b8e3e7858e
commit
2e469396b1
1 changed files with 2 additions and 1 deletions
|
@ -5683,7 +5683,8 @@ SafeWriter* DivEngine::saveFur(bool notPrimary, bool newPatternFormat) {
|
|||
|
||||
SafeWriter* DivEngine::saveDMF(unsigned char version) {
|
||||
// fail if version is not supported
|
||||
if (version<24 || version>26) {
|
||||
if (version>26) version=26;
|
||||
if (version<24) {
|
||||
logE("cannot save in this version!");
|
||||
lastError="invalid version to save in! this is a bug!";
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue