Closed zzam closed 6 months ago
Fix memory issues at save and load. Saving a too long path stores no path at all (=an empty path). Loading a too long path also sets it to empty (to be compatible to old saved files). I hope this is good.
It also fixes the value of Length at runtime.
Resolves https://github.com/Wargus/stratagus/issues/610 It might resolve some of the open crash-issues.
Fix memory issues at save and load. Saving a too long path stores no path at all (=an empty path). Loading a too long path also sets it to empty (to be compatible to old saved files). I hope this is good.
It also fixes the value of Length at runtime.
Resolves https://github.com/Wargus/stratagus/issues/610 It might resolve some of the open crash-issues.