fix: convert xmap path names for windows
* make sure, unsaved edits only count in editmode (otherwise "watercolour" in map configs would already be "edits") * nicer filenames for backup-xmaps * catch failed xmap file write access * unsavededits is now flag (!= 0) and counter - to enable scripts to detect "new edits". new commands: xmap_delete_backup deletes the backup xmap xmap_keep_backup moves the backup xmap to a regular named spot xmap_rename changes the nickname of an xmap
This commit is contained in:
@@ -347,7 +347,7 @@ void mapmsg(char *s)
|
||||
filterrichtext(text, s);
|
||||
filterservdesc(text, text);
|
||||
copystring(hdr.maptitle, text, 128);
|
||||
unsavededits = 1;
|
||||
if(editmode) unsavededits++;
|
||||
}
|
||||
|
||||
void getmapmsg(void)
|
||||
|
||||
Reference in New Issue
Block a user