From 6f54f1c380a3d17a7e3470dcfafce8a4937c5ce2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 5 Mar 2019 17:10:20 -0300 Subject: Fix proposed by 4144 --- npc/functions/gmbot.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/gmbot.txt') diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt index a3daad99b..e4985cbeb 100644 --- a/npc/functions/gmbot.txt +++ b/npc/functions/gmbot.txt @@ -71,7 +71,7 @@ OnTimer62000: // Try to warp randomly, up to 30 attempts .@e=0; .@x=0; .@y=0; - while (!checkcell(.mp$, .@x, .@y, cell_chkpass)) + while (!checknpccell(.mp$, .@x, .@y, cell_chkpass)) { if (.@e == 30) { .mp$="boss"; -- cgit v1.2.3-60-g2f50