1
This commit is contained in:
parent
e5d8165c12
commit
84d3205dfd
@ -772,6 +772,7 @@ void Human::FillMFObjectFull(Room* room, Human* hum, cs::MFObjectFull* full_data
|
||||
if (!revive_timer.expired()) {
|
||||
countdown = std::ceil(room->xtimer.GetRemainTime(revive_timer) / SERVER_FRAME_RATE);
|
||||
} else {
|
||||
#ifdef MYDEBUG
|
||||
f8::UdpLog::Instance()->Warning
|
||||
("Human::FillMFObjectfull revive_timer == nullptr "
|
||||
"dead_frameno:%d dead_times:%d alive_count:%d "
|
||||
@ -782,6 +783,7 @@ void Human::FillMFObjectFull(Room* room, Human* hum, cs::MFObjectFull* full_data
|
||||
room->AliveCount(),
|
||||
room->GetFrameNo()
|
||||
});
|
||||
#endif
|
||||
}
|
||||
countdown = std::max(0, countdown - kReviveTimeAdd);
|
||||
p->set_revive_countdown(countdown);
|
||||
|
Loading…
x
Reference in New Issue
Block a user