Hi Toon!

I threw together a quick test level and was able to switch between levels without any crashing. Did you remember to call pf_init_nodes() right after the level change?

Here's the main loop that I added:

Code:

while(1)
{
if (key_u)
{
level_load("pathfind_level2.WMB");
wait(1);
pf_init_nodes();
}
wait(1);
}



If you still get the error, run the program with the -diag switch and make sure that your version is up to date. The acklog.txt file should contain:

-=-=- ez_path version 0.440000-=-=-

Enjoy!!
- Bret