1
This commit is contained in:
parent
67c6267079
commit
b52173be2e
@ -1064,7 +1064,7 @@ void Creature::CancelAction()
|
|||||||
{
|
{
|
||||||
if (action_type == AT_Relive) {
|
if (action_type == AT_Relive) {
|
||||||
Entity* entity = room->GetEntityByUniId(action_target_id);
|
Entity* entity = room->GetEntityByUniId(action_target_id);
|
||||||
if (!entity->IsEntityType(ET_Player)) {
|
if (entity && entity->IsEntityType(ET_Player)) {
|
||||||
Human* hum = (Human*)entity;
|
Human* hum = (Human*)entity;
|
||||||
if (hum->action_type == AT_Rescue) {
|
if (hum->action_type == AT_Rescue) {
|
||||||
hum->CancelAction();
|
hum->CancelAction();
|
||||||
|
2
third_party/a8
vendored
2
third_party/a8
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 7bd146740195fbf3d0268fd873708f4ec2f56ab6
|
Subproject commit ee8724d50b4487d8684b9ad47942c5e622ce93b8
|
Loading…
x
Reference in New Issue
Block a user