This commit is contained in:
aozhiwei 2023-05-26 19:26:22 +08:00
parent a4c4c02a6a
commit 3d0e7cc1bd

View File

@ -3717,6 +3717,8 @@ void Room::CreateWorldObjects()
break; break;
case 2: case 2:
{ {
#ifdef DEBUG
#else
const mt::Hero* hero_meta = mt::Hero::GetById(std::get<1>(tuple)); const mt::Hero* hero_meta = mt::Hero::GetById(std::get<1>(tuple));
if (hero_meta) { if (hero_meta) {
Position hero_pos; Position hero_pos;
@ -3733,6 +3735,7 @@ void Room::CreateWorldObjects()
dir, dir,
team_id); team_id);
} }
#endif
} }
break; break;
default: default: