refactor #php8

This commit is contained in:
2023-10-13 18:02:45 +03:00
parent e0b08e0b1a
commit bdbb359e20
3 changed files with 456 additions and 597 deletions
+1 -1
View File
@@ -983,7 +983,7 @@ class Dialog
if ($this->info['tr_dn'] != $d->info['id2']) {
$go = 0;
} elseif ($this->info['x'] != 0 || $this->info['y'] != 0) {
if ($d->testLike($u->info['x'], $u->info['y'], $this->info['x'], $this->info['y']) != 1) {
if (!$d->cellIsGoodforAction($u->info['x'], $u->info['y'], $this->info['x'], $this->info['y'])) {
$go = 0;
}
//если бот погиб