[wpdev-commits] wolfpack spawnregions.cpp,1.72,1.73
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-02 22:29:23
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10788 Modified Files: spawnregions.cpp Log Message: fixes for walking Index: spawnregions.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/spawnregions.cpp,v retrieving revision 1.72 retrieving revision 1.73 diff -C2 -d -r1.72 -r1.73 *** spawnregions.cpp 2 Oct 2004 22:22:57 -0000 1.72 --- spawnregions.cpp 2 Oct 2004 22:28:21 -0000 1.73 *************** *** 557,563 **** // Apply these settings between the inherited npc and the custom settings in the spawnregion // file ! pChar->setWanderType( enWanderSpawnregion ); ! pChar->setWanderX1( pos.x ); ! pChar->setWanderY1( pos.y ); pChar->applyDefinition( tag ); // Now apply the given tag --- 557,567 ---- // Apply these settings between the inherited npc and the custom settings in the spawnregion // file ! if (countPoints() == 1) { ! pChar->setWanderType( enHalt ); // Most likely a vendor spawn with only one point ! } else { ! pChar->setWanderType( enWanderSpawnregion ); ! pChar->setWanderX1( pos.x ); ! pChar->setWanderY1( pos.y ); ! } pChar->applyDefinition( tag ); // Now apply the given tag |