mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 09:11:17 +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();
|
||||
if (reader == NULL)
|
||||
{
|
||||
memset(Cache, 0, sizeof(Cache));
|
||||
memset(Cache, 0, LumpSize);
|
||||
return 0;
|
||||
}
|
||||
reader->Read(Cache, LumpSize);
|
||||
|
|
Loading…
Reference in a new issue