Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26859
Modified Files:
defines.h walking.cpp
Log Message:
fixes (hopefully)
Index: defines.h
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/defines.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** defines.h 3 Nov 2004 18:23:58 -0000 1.59
--- defines.h 4 Nov 2004 00:51:44 -0000 1.60
***************
*** 46,50 ****
#define VISRANGE 18 // Visibility for normal items
! #define BUILDRANGE 41 // Visibility for castles and keeps
// Verdata Settings
--- 46,50 ----
#define VISRANGE 18 // Visibility for normal items
! #define BUILDRANGE 21 // Visibility for castles and keeps
// Verdata Settings
Index: walking.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/walking.cpp,v
retrieving revision 1.162
retrieving revision 1.163
diff -C2 -d -r1.162 -r1.163
*** walking.cpp 3 Nov 2004 19:04:32 -0000 1.162
--- walking.cpp 4 Nov 2004 00:51:44 -0000 1.163
***************
*** 639,644 ****
continue;
! 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
--- 639,644 ----
continue;
! 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
|