mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- preparations for unlimited tsprites.
Right now it is a no-op because Polymost cannot deal with this properly.
This commit is contained in:
parent
2377b17106
commit
e892de21ec
7 changed files with 11 additions and 0 deletions
|
@ -412,6 +412,8 @@ void dragpoint(walltype* startwall, int newx, int newy)
|
|||
|
||||
tspritetype* renderAddTsprite(tspritetype* tsprite, int& spritesortcnt, DCoreActor* actor)
|
||||
{
|
||||
validateTSpriteSize(tsprite, spritesortcnt);
|
||||
|
||||
if (spritesortcnt >= MAXSPRITESONSCREEN) return nullptr;
|
||||
auto tspr = &tsprite[spritesortcnt++];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue