Mapster32: fix in text tool; show unknown SE tags in 2d mode

git-svn-id: https://svn.eduke32.com/eduke32@1098 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2008-10-12 19:16:09 +00:00
parent c21b1deae2
commit 09831cd150

View file

@ -602,7 +602,7 @@ const char *SectorEffectorTagText(int lotag)
Bsprintf(tempbuf,"%d: SKRINK RAY SHOOTER",lotag); Bsprintf(tempbuf,"%d: SKRINK RAY SHOOTER",lotag);
break; break;
default: default:
Bsprintf(tempbuf,"%d",lotag); Bsprintf(tempbuf,"%d: (UNKNOWN)",lotag);
break; break;
} }
return (tempbuf); return (tempbuf);
@ -3278,6 +3278,8 @@ ENDFOR1:
cursor = insertsprite(sprite[startspr].sectnum,0); cursor = insertsprite(sprite[startspr].sectnum,0);
if (cursor < 0) goto ERROR_TOOMANYSPRITES; if (cursor < 0) goto ERROR_TOOMANYSPRITES;
updatenumsprites();
sp = &sprite[cursor]; sp = &sprite[cursor];
Bmemcpy(sp, &sprite[startspr], sizeof(spritetype)); Bmemcpy(sp, &sprite[startspr], sizeof(spritetype));
sp->yoffset = 0; sp->yoffset = 0;