mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
This makes Mapster32 go into 3D mode at startup only if the map's start position is inside of a sector. This means that you won't end up in 3D mode on a blank map anymore if you have an empty newboard.map in your directory.
git-svn-id: https://svn.eduke32.com/eduke32@456 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
50d6334304
commit
c7def8d139
1 changed files with 9 additions and 3 deletions
|
@ -370,9 +370,6 @@ int app_main(int argc, char **argv)
|
|||
numsectors = 0;
|
||||
numwalls = 0;
|
||||
cursectnum = -1;
|
||||
setbrightness(0,palette,0);
|
||||
overheadeditor();
|
||||
keystatus[buildkeys[14]] = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -388,6 +385,15 @@ int app_main(int argc, char **argv)
|
|||
startsectnum = cursectnum; // TX 20050225: moved to loadboard
|
||||
|
||||
totalclock = 0;
|
||||
|
||||
updatesector(posx,posy,&cursectnum);
|
||||
|
||||
if (cursectnum == -1)
|
||||
{
|
||||
setbrightness(0,palette,0);
|
||||
overheadeditor();
|
||||
keystatus[buildkeys[14]] = 0;
|
||||
}
|
||||
CANCEL:
|
||||
quitflag = 0;
|
||||
while (quitflag == 0)
|
||||
|
|
Loading…
Reference in a new issue