mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[10231] Use VMAP::VMAPLoadResult instead raw int loadMap result.
This commit is contained in:
parent
06bcc77495
commit
0065693c4c
5 changed files with 6 additions and 6 deletions
|
|
@ -120,9 +120,9 @@ namespace VMAP
|
|||
|
||||
//=========================================================
|
||||
|
||||
int VMapManager2::loadMap(const char* pBasePath, unsigned int pMapId, int x, int y)
|
||||
VMAPLoadResult VMapManager2::loadMap(const char* pBasePath, unsigned int pMapId, int x, int y)
|
||||
{
|
||||
int result = VMAP_LOAD_RESULT_IGNORED;
|
||||
VMAPLoadResult result = VMAP_LOAD_RESULT_IGNORED;
|
||||
if (isMapLoadingEnabled() && !iIgnoreMapIds.count(pMapId))
|
||||
{
|
||||
if (_loadMap(pMapId, pBasePath, x, y))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue