diff options
| author | Shauren <shauren.trinity@gmail.com> | 2020-12-07 16:23:55 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2020-12-08 18:16:47 +0100 |
| commit | 7a406db50626ba9e9a64c8c3d9b6e5b7310ac527 (patch) | |
| tree | 2003395f4b837acbf5e867af90614ecba7a55ab5 /src/server/game/Maps/Map.cpp | |
| parent | 96d340f70ccef57fad177a24ca099055d7dce04d (diff) | |
Core/Collision: Fixed false positive errors in console about vmap loading
Diffstat (limited to 'src/server/game/Maps/Map.cpp')
| -rw-r--r-- | src/server/game/Maps/Map.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index bd844ac6329..e0fb4370fea 100644 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -190,6 +190,10 @@ bool Map::ExistVMap(uint32 mapid, int gx, int gy) TC_LOG_ERROR("maps", "VMap file '%s' couldn't be loaded", (sWorld->GetDataPath() + "vmaps/" + name).c_str()); TC_LOG_ERROR("maps", "This is because the version of the VMap file and the version of this module are different, please re-extract the maps with the tools compiled with this module."); return false; + case VMAP::LoadResult::ReadFromFileFailed: + TC_LOG_ERROR("maps", "VMap file '%s' couldn't be loaded", (sWorld->GetDataPath() + "vmaps/" + name).c_str()); + TC_LOG_ERROR("maps", "This is because VMAP files are corrupted, please re-extract the maps with the tools compiled with this module."); + return false; } } } |
