1
This commit is contained in:
parent
6412497e86
commit
75fdfd7062
@ -209,3 +209,5 @@ const int MAX_ALL_HTTP_NUM = MAX_SYS_HTTP_NUM + MAX_USER_HTTP_NUM;
|
|||||||
|
|
||||||
const int DEFAULT_BORN_POINT_X = 3000;
|
const int DEFAULT_BORN_POINT_X = 3000;
|
||||||
const int DEFAULT_BORN_POINT_Y = 3000;
|
const int DEFAULT_BORN_POINT_Y = 3000;
|
||||||
|
|
||||||
|
const int BORN_POINT_THINGID = -10000;
|
||||||
|
@ -366,6 +366,7 @@ void Room::CreateThings()
|
|||||||
} else {
|
} else {
|
||||||
CreateObstacle(thing_id, thing_tpl.i->x(), thing_tpl.i->y());
|
CreateObstacle(thing_id, thing_tpl.i->x(), thing_tpl.i->y());
|
||||||
}
|
}
|
||||||
|
} else if (thing_id == BORN_POINT_THINGID) {
|
||||||
} else {
|
} else {
|
||||||
MetaData::Equip* equip_meta = MetaMgr::Instance()->GetEquip(thing_id);
|
MetaData::Equip* equip_meta = MetaMgr::Instance()->GetEquip(thing_id);
|
||||||
if (equip_meta) {
|
if (equip_meta) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user