1
This commit is contained in:
parent
454aab53e8
commit
c9365d1f69
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user