1
This commit is contained in:
parent
e98e0b2137
commit
7bf5f2a9f9
@ -182,16 +182,28 @@ void Obstacle::FillMFObjectFull(Room* room, Human* hum, cs::MFObjectFull* full_d
|
||||
a8::SetBitFlag(data->flags, kHealth);
|
||||
}
|
||||
if (GetInteractionData(hum)) {
|
||||
#if 1
|
||||
p->set_button_name("脱离");
|
||||
#else
|
||||
p->set_button_name("1");
|
||||
#endif
|
||||
} else {
|
||||
#if 1
|
||||
p->set_button_name("2");
|
||||
#else
|
||||
p->set_button_name("躲藏");
|
||||
#endif
|
||||
}
|
||||
} else {
|
||||
if (IsOpenInteraction()) {
|
||||
if (IsDead(hum->room)) {
|
||||
p->set_button_name("");
|
||||
} else {
|
||||
#if 1
|
||||
p->set_button_name("3");
|
||||
#else
|
||||
p->set_button_name("开启");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user