This commit is contained in:
aozhiwei 2023-12-08 15:20:17 +08:00
parent 454aab53e8
commit c9365d1f69

View File

@ -319,9 +319,11 @@ void FrameMaker::SerializeShots(cs::SMUpdate* msg, Room* room, Human* hum, Frame
if (idx < room->frame_event_data->shots_.size()) {
auto& tuple = room->frame_event_data->shots_[idx];
if (std::get<0>(tuple).Get() && hum->CanSee(std::get<0>(tuple).Get())) {
#if 0
if (std::get<0>(tuple).Get()->IsPlayer()) {
a8::XPrintf("player shot\n", {});
}
#endif
*msg->add_shots() = std::get<1>(tuple);
} else {
#ifdef MYDEBUG1