[wpdev-commits] wolfpack basechar.cpp,1.174,1.175 walking.cpp,1.161,1.162
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-11-03 19:04:46
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14393 Modified Files: basechar.cpp walking.cpp Log Message: Fixes Index: walking.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/walking.cpp,v retrieving revision 1.161 retrieving revision 1.162 diff -C2 -d -r1.161 -r1.162 *** walking.cpp 3 Nov 2004 17:23:10 -0000 1.161 --- walking.cpp 3 Nov 2004 19:04:32 -0000 1.162 *************** *** 640,644 **** bool wasVisible = observer->pos().distance(oldpos) <= VISRANGE; // We were previously in range ! bool isVisible = player->dist(observer) <= VISRANGE; // We are now in range // If we are a player, send us new characters --- 640,644 ---- bool wasVisible = observer->pos().distance(oldpos) <= VISRANGE; // We were previously in range ! bool isVisible = pChar->dist(observer) <= VISRANGE; // We are now in range // If we are a player, send us new characters Index: basechar.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/basechar.cpp,v retrieving revision 1.174 retrieving revision 1.175 diff -C2 -d -r1.174 -r1.175 *** basechar.cpp 3 Nov 2004 13:51:08 -0000 1.174 --- basechar.cpp 3 Nov 2004 19:04:30 -0000 1.175 *************** *** 826,830 **** // Move all items from the corpse to the backpack and then look for // previous equipment ! for (ContainerIterator it(corpse); !it.atEnd(); ++it) { backpack->addItem( *it, false ); --- 826,830 ---- // Move all items from the corpse to the backpack and then look for // previous equipment ! for (ContainerCopyIterator it(corpse); !it.atEnd(); ++it) { backpack->addItem( *it, false ); *************** *** 2871,2875 **** // Create Loot - Either on the corpse or on the ground ! for (ContainerIterator it(backpack); !it.atEnd(); ++it) { P_ITEM item = *it; --- 2871,2875 ---- // Create Loot - Either on the corpse or on the ground ! for (ContainerCopyIterator it(backpack); !it.atEnd(); ++it) { P_ITEM item = *it; |