Heya guys.
I realized something while digging through code:
Here: https://github.com/OpenDungeons/OpenDun ... r.cpp#L833
When saving a map in the editor, it seems it is making a backup each time. I don't know whether it is the right thing to do. I'll explain:
- When you open a level, you don't want to overwrite the previous version accidentally, and the backup is here for that. -> Ok.
- The first time you save, the former version is backed-up and the new one is written instead. -> Still ok.
- But when you save the second time, the modified version saved the first time erases the actual former version, and the newest version is written instead.
Here I don't know if it's what is desired. If I'm running the editor, I won't want to lose the previous version (aka the one before I started the editor). Hence I wonder whether we should backup only at the first save.
What do you think, guys? Danimal, what would you expect?
Best regards,