[wpdev-commits] wolfpack walking.cpp,1.150,1.151
Brought to you by:
rip,
thiagocorrea
From: spddmn <xxx...@us...> - 2004-09-20 00:16:33
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13631 Modified Files: walking.cpp Log Message: npc multi checks for item bottoms Index: walking.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/walking.cpp,v retrieving revision 1.150 retrieving revision 1.151 diff -C2 -d -r1.150 -r1.151 *** walking.cpp 19 Sep 2004 23:01:29 -0000 1.150 --- walking.cpp 20 Sep 2004 00:16:20 -0000 1.151 *************** *** 372,377 **** // Or the bottom ? ! // if ( ( item.z > oldz ) && ( item.z < oldz + P_M_MAX_Z_BLOCKS ) ) ! // return false; // Or does it spread the whole range ? --- 372,380 ---- // Or the bottom ? ! // note: the following test was commented out. by putting the code back in, ! // npcs stop wandering through the walls of multis. I am curious if this code ! // has other (negative) affects besides that. ! if ( ( item.z > oldz ) && ( item.z < oldz + P_M_MAX_Z_BLOCKS ) ) ! return false; // Or does it spread the whole range ? |