just another updatenumsprites() fix

git-svn-id: https://svn.eduke32.com/eduke32@1104 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2008-10-19 15:27:12 +00:00
parent 60fb567427
commit 938f0c4a5d

View file

@ -3504,6 +3504,7 @@ ENDFOR1:
ERROR_TOOMANYSPRITES:
if (cursor < 0) message("Too many sprites in map!");
else deletesprite(cursor);
updatenumsprites();
ERROR_NOMEMORY:
if (spritenums) Bfree(spritenums);