Fixed a bug which was introduced in the revision #759. Mapster32 would delete many sprites on saving maps.

The latest released snapshot is affected by this bug. This is a critical bug and a new snapshot should be released as soon as possible and users should be asked to not use the corrupted snapshot.

The bug was reported by DeeperThought and Gambini.

P.S. Actually it's the second time this bug has been introduced. See http://forums.3drealms.com/vb/showthread.php?t=29413

git-svn-id: https://svn.eduke32.com/eduke32@772 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hnt_ts 2008-06-06 08:01:30 +00:00
parent 36a4e54b56
commit 0ff4f3b736

View file

@ -7694,7 +7694,7 @@ int saveboard(char *filename, int *daposx, int *daposy, int *daposz,
spri=tspri;
for (j=0;j<numsprites;j++)
for (j=0;j<MAXSPRITES;j++)
{
if (sprite[j].statnum != MAXSTATUS)
{