Don't reset extra tags before loading map in Mapster32.

git-svn-id: https://svn.eduke32.com/eduke32@1717 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2010-10-22 23:12:59 +00:00
parent a925d39273
commit b126f6f6c8
1 changed files with 5 additions and 3 deletions

View File

@ -357,6 +357,8 @@ int32_t app_main(int32_t argc, const char **argv)
wm_setapptitle("Mapster32");
editstatus = 1;
newaspect_enable = 1;
if ((i = ExtPreInit(argc,argv)) < 0) return -1;
#ifdef RENDERTYPEWIN
@ -4342,9 +4344,9 @@ CANCEL:
circlewall = -1;
circlepoints = 7;
for (i=0; i<MAXSECTORS; i++) sector[i].extra = -1;
for (i=0; i<MAXWALLS; i++) wall[i].extra = -1;
for (i=0; i<MAXSPRITES; i++) sprite[i].extra = -1;
// for (i=0; i<MAXSECTORS; i++) sector[i].extra = -1;
// for (i=0; i<MAXWALLS; i++) wall[i].extra = -1;
// for (i=0; i<MAXSPRITES; i++) sprite[i].extra = -1;
ExtPreLoadMap();
i = loadboard(boardfilename,(!pathsearchmode&&grponlymode?2:0),&pos.x,&pos.y,&pos.z,&ang,&cursectnum);