This commit is contained in:
aozhiwei 2023-03-03 10:35:57 +08:00
parent 67c6267079
commit b52173be2e
2 changed files with 2 additions and 2 deletions

View File

@ -1064,7 +1064,7 @@ void Creature::CancelAction()
{
if (action_type == AT_Relive) {
Entity* entity = room->GetEntityByUniId(action_target_id);
if (!entity->IsEntityType(ET_Player)) {
if (entity && entity->IsEntityType(ET_Player)) {
Human* hum = (Human*)entity;
if (hum->action_type == AT_Rescue) {
hum->CancelAction();

2
third_party/a8 vendored

@ -1 +1 @@
Subproject commit 7bd146740195fbf3d0268fd873708f4ec2f56ab6
Subproject commit ee8724d50b4487d8684b9ad47942c5e622ce93b8