Originally posted by [b][Myst][/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2961
Hi
I've seen a little bug :
If set an atcommand like this :
warp: -100
atcommand.c change the level of atcommand but set the charcommand to -100
My diff on acommand.c
CODE
ShowWarning("atcommand_conf: defaulting %s charcommand level to %d.\n",w1,atoi(w2));
p->level2 = atoi(w2);
+ p->level2 = cap_value(p->level2, 0, 100);
}
not tested.
Sorry for my bad english.
This post has been edited by [Myst]: Apr 11 2009, 03:50 PM