1
This commit is contained in:
parent
8728c05318
commit
81048f446f
@ -3,6 +3,7 @@
|
|||||||
#include "mapmgr.h"
|
#include "mapmgr.h"
|
||||||
#include "room.h"
|
#include "room.h"
|
||||||
#include "mapinstance.h"
|
#include "mapinstance.h"
|
||||||
|
#include "metamgr.h"
|
||||||
|
|
||||||
void MapMgr::Init()
|
void MapMgr::Init()
|
||||||
{
|
{
|
||||||
@ -12,7 +13,7 @@ void MapMgr::Init()
|
|||||||
map_instance->Init();
|
map_instance->Init();
|
||||||
instance_hash_[map_instance->map_id] = map_instance;
|
instance_hash_[map_instance->map_id] = map_instance;
|
||||||
}
|
}
|
||||||
{
|
if (MetaMgr::Instance()->GetMap(3001)) {
|
||||||
MapInstance* map_instance = new MapInstance();
|
MapInstance* map_instance = new MapInstance();
|
||||||
map_instance->map_id = 3001;
|
map_instance->map_id = 3001;
|
||||||
map_instance->Init();
|
map_instance->Init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user