1
This commit is contained in:
parent
8d99bb66f4
commit
c238857186
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user