mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 16:07:55 +00:00
- fixed incorrect memset argument.
This commit is contained in:
parent
1e8f362217
commit
a81dd798a8
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ int FDirectoryLump::FillCache()
|
||||||
FileReader *reader = NewReader();
|
FileReader *reader = NewReader();
|
||||||
if (reader == NULL)
|
if (reader == NULL)
|
||||||
{
|
{
|
||||||
memset(Cache, 0, sizeof(Cache));
|
memset(Cache, 0, LumpSize);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
reader->Read(Cache, LumpSize);
|
reader->Read(Cache, LumpSize);
|
||||||
|
|
Loading…
Reference in a new issue