mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- fix allocation for tile buffer.
This commit is contained in:
parent
82057bcd5a
commit
ec18e022ca
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ static void AddArtFile(const FString& filename)
|
|||
FileReader fr = fileSystem.OpenFileReader(filename);
|
||||
if (fr.isOpen())
|
||||
{
|
||||
TArray<uint8_t> artdata(fr.GetLength());
|
||||
TArray<uint8_t> artdata(fr.GetLength(), true);
|
||||
fr.Read(artdata.Data(), artdata.Size());
|
||||
if (artdata.Size() > 16)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue