1
This commit is contained in:
parent
836b05db56
commit
442845053d
@ -51,6 +51,12 @@ void FrameEvent::AddShot(Creature* sender)
|
||||
} else {
|
||||
sender->GetCurrWeapon()->ToPB(p.mutable_weapon());
|
||||
}
|
||||
if (sender->IsHuman()) {
|
||||
Human* hum = (Human*)sender;
|
||||
if (hum->GetCar()) {
|
||||
p.set_hole(hum->GetSeat());
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
int shot_idx = shots_.size() - 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user