mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- eliminated spritetype::clear.
Most uses were bad anyway, and the legitimate ones are just clearing the object.
This commit is contained in:
parent
51abee4351
commit
2bb7cecf27
8 changed files with 2 additions and 22 deletions
|
@ -280,7 +280,7 @@ void validateSprite(spritetype& spr, int sectnum, int index)
|
|||
}
|
||||
if (bugged)
|
||||
{
|
||||
spr.clear();
|
||||
spr = {};
|
||||
spr.statnum = MAXSTATUS;
|
||||
sectnum = -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue