1
This commit is contained in:
parent
a2dd2d675e
commit
efba8bec87
@ -63,6 +63,9 @@ void FrameEvent::AddShot(CreatureWeakPtr& sender)
|
||||
if (sender.Get()->IsCar()) {
|
||||
p.set_hole(sender.Get()->shot_hole);
|
||||
}
|
||||
if (sender.Get()->aiming) {
|
||||
p.set_aiming(1);
|
||||
}
|
||||
}
|
||||
{
|
||||
int shot_idx = shots_.size() - 1;
|
||||
|
@ -608,6 +608,7 @@ message MFShot
|
||||
optional int32 player_id = 1; //玩家id
|
||||
optional MFWeapon weapon = 2; //武器id
|
||||
optional int32 hole = 5 [default = 0]; //炮孔(从0开始)
|
||||
optional int32 aiming = 6 [default = 0]; //是否瞄准中
|
||||
}
|
||||
|
||||
//爆炸
|
||||
|
Loading…
x
Reference in New Issue
Block a user