This commit is contained in:
aozhiwei 2019-04-24 17:43:45 +08:00
parent 94a49baddb
commit ca20436cc9

View File

@ -111,6 +111,9 @@ void AndroidAI::DoAttack()
a8::HasBitFlag(hum->status, HS_Jump)) {
return;
}
if (hum->room->gas_data.gas_mode == GasInactive) {
return;
}
if (owner->updated_times % 10 == 0) {
Human* enemy = owner->room->FindEnemy((Human*)owner);
if (enemy) {