移除无用日志
This commit is contained in:
parent
b87ab4089f
commit
cff8d13ff8
@ -3162,6 +3162,7 @@ void Human::DropItems(Obstacle* obstacle)
|
||||
++normal_drop_times_;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
a8::UdpLog::Instance()->Debug("DropItems normal:%d box:%d drop_id:%d is_treasure_box:%d",
|
||||
{
|
||||
normal_drop_times_,
|
||||
@ -3170,6 +3171,7 @@ void Human::DropItems(Obstacle* obstacle)
|
||||
is_treasure_box ? 1 : 0
|
||||
});
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void Human::RecalcBuffAttr()
|
||||
|
@ -2604,7 +2604,7 @@ void Room::AddPlayerPostProc(Player* hum)
|
||||
}
|
||||
if (GetRoomMode() == kZombieMode) {
|
||||
#if 1
|
||||
hum->ChangeToRace(kZombieRace, 3);
|
||||
hum->ChangeToRace(kZombieRace, 2);
|
||||
#else
|
||||
hum->ChangeToRace(kHumanRace, 1);
|
||||
#endif
|
||||
|
@ -20,12 +20,14 @@ RoomObstacle::~RoomObstacle()
|
||||
for (auto& itr : colliders_) {
|
||||
ColliderComponent* collider = itr;
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
a8::UdpLog::Instance()->Debug("OnRemoveCollider %d %d %d",
|
||||
{
|
||||
room->GetRoomIdx(),
|
||||
GetEntityUniId(),
|
||||
(long long)collider
|
||||
});
|
||||
#endif
|
||||
#endif
|
||||
room->map_service->RemoveCollider(collider);
|
||||
}
|
||||
@ -69,12 +71,14 @@ void RoomObstacle::RecalcSelfCollider()
|
||||
}
|
||||
if (!self_collider_) {
|
||||
#ifdef DEBUG
|
||||
#if 0
|
||||
a8::UdpLog::Instance()->Debug("OnAddCollider %d %d %d",
|
||||
{
|
||||
room->GetRoomIdx(),
|
||||
GetEntityUniId(),
|
||||
(long long)self_collider_
|
||||
});
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user