PDA

View Full Version : fix for walkpaths bug



nok
11-10-2002, 01:12 AM
I've been trying for days to get walk paths to work correctly for my. It seemed that they were always very short no matter what i set the length value to. Turns out there is a bug in the code that changes the length that prevents it from ever actually being changed. in interface.cpp change this :


EQInterface::set_opt_WalkPathLength(int len)
{
if ((len < 0) && (len <= 128))

to this :


EQInterface::set_opt_WalkPathLength(int len)
{
if ((len > 0) && (len <= 8192))


changed it to greater then 0 and the change to 8192 is the max value that was stated in the changelog from a long time ago.

Ratt
11-10-2002, 11:21 AM
I'll add this to the CVS shortly. Thank you :)