mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
use updatesectorz instead of updatesector for the startsectnum updating when saving a map.
git-svn-id: https://svn.eduke32.com/eduke32@2000 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
5bae16041d
commit
decb2a0db1
1 changed files with 3 additions and 1 deletions
|
@ -6916,7 +6916,9 @@ const char *SaveBoard(const char *fn, uint32_t flags)
|
||||||
}
|
}
|
||||||
|
|
||||||
fixspritesectors(); //Do this before saving!
|
fixspritesectors(); //Do this before saving!
|
||||||
updatesector(startposx,startposy,&startsectnum);
|
updatesectorz(startposx,startposy,startposz,&startsectnum);
|
||||||
|
if (startsectnum < 0)
|
||||||
|
updatesector(startposx,startposy,&startsectnum);
|
||||||
ExtPreSaveMap();
|
ExtPreSaveMap();
|
||||||
ret = saveboard(f,&startposx,&startposy,&startposz,&startang,&startsectnum);
|
ret = saveboard(f,&startposx,&startposy,&startposz,&startang,&startsectnum);
|
||||||
if ((flags&1)==0)
|
if ((flags&1)==0)
|
||||||
|
|
Loading…
Reference in a new issue