mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core: merged some analysis issue fixup commits from master and 335
This commit is contained in:
@@ -275,7 +275,10 @@ namespace VMAP
|
||||
}
|
||||
FILE* tf = OpenMapTileFile(basePath, mapID, tileX, tileY, vm).File;
|
||||
if (!tf)
|
||||
result = LoadResult::FileNotFound;
|
||||
{
|
||||
fclose(rf);
|
||||
return LoadResult::FileNotFound;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!readChunk(tf, chunk, VMAP_MAGIC, 8))
|
||||
|
||||
Reference in New Issue
Block a user