mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +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!
|
||||
updatesector(startposx,startposy,&startsectnum);
|
||||
updatesectorz(startposx,startposy,startposz,&startsectnum);
|
||||
if (startsectnum < 0)
|
||||
updatesector(startposx,startposy,&startsectnum);
|
||||
ExtPreSaveMap();
|
||||
ret = saveboard(f,&startposx,&startposy,&startposz,&startang,&startsectnum);
|
||||
if ((flags&1)==0)
|
||||
|
|
Loading…
Reference in a new issue