1
This commit is contained in:
parent
338b731a31
commit
73b8f3ffa4
@ -633,6 +633,11 @@ void FrameMaker::SerializeVoices(cs::SMUpdate* msg, Room* room, Human* hum, Fram
|
|||||||
p->mutable_kill_info()->set_dead_hero_id(hum->GetHeroMeta()->id());
|
p->mutable_kill_info()->set_dead_hero_id(hum->GetHeroMeta()->id());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef MYDEBUG
|
||||||
|
if (hum->IsPlayer()) {
|
||||||
|
a8::XPrintf("InGameVoice %d:%s\n", {room->GetRoomIdx(), f8::PbToJson(msg)});
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1407,7 +1407,7 @@ void Player::_CMRequestBulletDmg(f8::MsgHdr* hdr, const cs::CMRequestBulletDmg&
|
|||||||
{
|
{
|
||||||
auto itr = room->report_bullet_hash.find(msg.bullet_uniid());
|
auto itr = room->report_bullet_hash.find(msg.bullet_uniid());
|
||||||
if (itr == room->report_bullet_hash.end()) {
|
if (itr == room->report_bullet_hash.end()) {
|
||||||
#ifdef MYDEBUG
|
#ifdef MYDEBUG1
|
||||||
a8::XPrintf("CMRequestBulletDmg bullet_uniid:%d shield_hit:%d strengthen_wall_uniid:%d target_uniid:%d found:%d pos:%f,%f,%f equip_id:%d\n",
|
a8::XPrintf("CMRequestBulletDmg bullet_uniid:%d shield_hit:%d strengthen_wall_uniid:%d target_uniid:%d found:%d pos:%f,%f,%f equip_id:%d\n",
|
||||||
{
|
{
|
||||||
msg.bullet_uniid(),
|
msg.bullet_uniid(),
|
||||||
@ -1436,7 +1436,7 @@ void Player::_CMRequestBulletDmg(f8::MsgHdr* hdr, const cs::CMRequestBulletDmg&
|
|||||||
glm::vec3(msg.pos().x(), msg.pos().y(), msg.pos().z())
|
glm::vec3(msg.pos().x(), msg.pos().y(), msg.pos().z())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
#ifdef MYDEBUG
|
#ifdef MYDEBUG1
|
||||||
a8::XPrintf("CMRequestBulletDmg bullet_uniid:%d shield_hit:%d strengthen_wall_uniid:%d target_uniid:%d found:%d pos:%f,%f,%f equip_id:%d\n",
|
a8::XPrintf("CMRequestBulletDmg bullet_uniid:%d shield_hit:%d strengthen_wall_uniid:%d target_uniid:%d found:%d pos:%f,%f,%f equip_id:%d\n",
|
||||||
{
|
{
|
||||||
msg.bullet_uniid(),
|
msg.bullet_uniid(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user