- eliminated spritetype::clear.

Most uses were bad anyway, and the legitimate ones are just clearing the object.
This commit is contained in:
Christoph Oelckers 2021-12-30 17:55:17 +01:00
parent 51abee4351
commit 2bb7cecf27
8 changed files with 2 additions and 22 deletions

View file

@ -280,7 +280,7 @@ void validateSprite(spritetype& spr, int sectnum, int index)
}
if (bugged)
{
spr.clear();
spr = {};
spr.statnum = MAXSTATUS;
sectnum = -1;
}