mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Move SpriteFrames.Clear() from R_InitSprites to FTextureManager::Init
- Fixed: Blood sprite rotations were overwritten by the Doom sprite rotations.
This commit is contained in:
parent
f3d8edb4d8
commit
02e7c56c82
2 changed files with 1 additions and 2 deletions
|
@ -925,8 +925,6 @@ void R_InitSprites ()
|
|||
numskins++;
|
||||
}
|
||||
|
||||
SpriteFrames.Clear();
|
||||
|
||||
// [RH] Do some preliminary setup
|
||||
if (skins != NULL) delete [] skins;
|
||||
skins = new FPlayerSkin[numskins];
|
||||
|
|
|
@ -964,6 +964,7 @@ void FTextureManager::SortTexturesByType(int start, int end)
|
|||
void FTextureManager::Init()
|
||||
{
|
||||
DeleteAll();
|
||||
SpriteFrames.Clear();
|
||||
// Init Build Tile data if it hasn't been done already
|
||||
if (BuildTileFiles.Size() == 0) CountBuildTiles ();
|
||||
FTexture::InitGrayMap();
|
||||
|
|
Loading…
Reference in a new issue