diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index b0a154e..79b3176 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -1212,6 +1212,7 @@ void Creature::Shot(a8::Vec2& target_dir, bool& shot_ok, float fly_distance) last_shot_frameno_ = room->GetFrameNo(); if (!need_sync_active_player && IsPlayer()) { room->frame_event.AddBulletNumChg((Human*)this); + room->frame_event.AddWeaponAmmoChg((Human*)this); } shot_ok = true; }