summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-04-22 22:23:14 -0300
committerMatheus Macabu <mkbu95@gmail.com>2013-04-22 22:23:14 -0300
commit038174e232c03519474f86e5738cecac34bbdee3 (patch)
treed253f065a140d0707064d8b413e760559aeabadf /src/char/char.c
parent60cfb9545fbfa1301d147ba242a8048a0fbde758 (diff)
downloadhercules-038174e232c03519474f86e5738cecac34bbdee3.tar.gz
hercules-038174e232c03519474f86e5738cecac34bbdee3.tar.bz2
hercules-038174e232c03519474f86e5738cecac34bbdee3.tar.xz
hercules-038174e232c03519474f86e5738cecac34bbdee3.zip
Also fixed a behavior of npcwalkto, which was capped by walkpath limit.
Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
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);