diff --git a/server/gameserver/player.cc b/server/gameserver/player.cc index afd320f..886b679 100644 --- a/server/gameserver/player.cc +++ b/server/gameserver/player.cc @@ -447,7 +447,9 @@ void Player::Shot() AutoLoadingBullet(); } last_shot_frameno_ = room->GetFrameNo(); + #if 0 need_sync_active_player = true; + #endif } void Player::ProcInteraction() diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index ea56229..b1c1266 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -109,6 +109,9 @@ message MFVec2 property_type: 9 当前道具(目前只有伪装) property_subtype: 道具id valule: 当前数量(数量<=0时除) + property_type: 10 更新武器子弹数 + property_subtype: 武器索引 + valule: 当前数量 */ message MFPropertyChg {