From 038174e232c03519474f86e5738cecac34bbdee3 Mon Sep 17 00:00:00 2001 From: Matheus Macabu Date: Mon, 22 Apr 2013 22:23:14 -0300 Subject: Also fixed a behavior of npcwalkto, which was capped by walkpath limit. Signed-off-by: Matheus Macabu --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char') diff --git a/src/char/char.c b/src/char/char.c index 204397dd3..b91a3a984 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -4790,7 +4790,7 @@ int char_config_read(const char* cfgName) i = 0; split = strtok(w2, ","); - while (split != NULL && i < MAX_START_ITEMS) { + while (split != NULL && i < MAX_START_ITEMS*2) { split2 = split; split = strtok(NULL, ","); start_items[i] = atoi(split2); -- cgit v1.2.3-60-g2f50