This commit is contained in:
aozhiwei 2023-10-30 16:21:36 +08:00
parent 8d99bb66f4
commit c238857186

View File

@ -44,6 +44,7 @@
#include "hero.h"
#include "guide.h"
#include "compose.h"
#include "bornpoint.h"
#include "buff/sprint.h"
@ -3423,6 +3424,10 @@ void Human::InternalBeKill(int killer_id, const std::string& killer_name, int we
if (a8::TIMER_EXEC_EVENT == event) {
if (!room->IsGameOver()) {
if (dead) {
Global::Instance()->verify_set_pos = 1;
SetPos(born_point->RandPoint(room));
room->grid_service->MoveCreature(this);
Global::Instance()->verify_set_pos = 0;
a8::UnSetBitFlag(status, CS_Reviving);
++stats->revive;
dead = false;