From 09831cd1505fdbaba1e6b5ef466325ad02cc863f Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 12 Oct 2008 19:16:09 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/astub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index be8565ae6..c95f7b930 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -602,7 +602,7 @@ const char *SectorEffectorTagText(int lotag) Bsprintf(tempbuf,"%d: SKRINK RAY SHOOTER",lotag); break; default: - Bsprintf(tempbuf,"%d",lotag); + Bsprintf(tempbuf,"%d: (UNKNOWN)",lotag); break; } return (tempbuf); @@ -3278,6 +3278,8 @@ ENDFOR1: cursor = insertsprite(sprite[startspr].sectnum,0); if (cursor < 0) goto ERROR_TOOMANYSPRITES; + updatenumsprites(); + sp = &sprite[cursor]; Bmemcpy(sp, &sprite[startspr], sizeof(spritetype)); sp->yoffset = 0;