- Fixed: Checking for BUILD maps only worked if they came from unencrypted and
uncompressed sources. SVN r2216 (trunk)
This commit is contained in:
parent
970cf6f71b
commit
054e5411bd
3 changed files with 22 additions and 11 deletions
|
|
@ -145,8 +145,10 @@ static void Decrypt (void *to, const void *from, int len, int key);
|
|||
bool P_IsBuildMap(MapData *map)
|
||||
{
|
||||
DWORD len = map->Size(ML_LABEL);
|
||||
if (len < 4) return false;
|
||||
|
||||
if (len < 4)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
BYTE *data = new BYTE[len];
|
||||
|
||||
map->Seek(ML_LABEL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue