From c72727da0cba38530058654b3638382b59c5eb91 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 27 Jul 2020 15:53:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=83=B5=E5=B0=B8=E6=A8=A1=E5=BC=8F=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=80=92=E8=AE=A1=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/gameserver/room.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index 4389ce4..bf1f9dd 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -1332,6 +1332,11 @@ void Room::AirDrop(int appear_time, int box_id) box_id = spec_box_id; } } + if (GetRoomMode() == kZombieMode) { + for (auto& pair : accountid_hash_) { + pair.second->SendShowCountdown("距离物资箱抵达还有%d秒", appear_time / 1000); + } + } if (thing_meta && thing_meta->i->type() == 2) { a8::Vec2 dir = a8::Vec2::UP; dir.Rotate(a8::RandAngle());