aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
diff options
context:
space:
mode:
authorKingPin <none@none>2008-11-10 09:04:23 -0600
committerKingPin <none@none>2008-11-10 09:04:23 -0600
commit09a0d1122afb5b97f36dbedf0f58fc10d1ad135a (patch)
treeea121fe9591077c9b5de6d58e51762a4dd84f6b3 /src/game/Object.h
parent09280b0091474b58d43daf42c0f3d99f86e6ec25 (diff)
[svn] * Improve some arena team related DB access
* Cache GM tickets on server startup. * Remove unused src/game/HateMatrix.h and references. * Better check client inventory pos data received in some client packets to skip invalid cases --HG-- branch : trunk
Diffstat (limited to 'src/game/Object.h')
-rw-r--r--src/game/Object.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index f5dbe92010c..75d75be0728 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -33,9 +33,8 @@
#include <string>
#define CONTACT_DISTANCE 0.5f
-#define INTERACTION_DISTANCE 5
-#define ATTACK_DISTANCE 5
-#define DETECT_DISTANCE 20 // max distance to successful detect stealthed unit
+#define INTERACTION_DISTANCE 5.0f
+#define ATTACK_DISTANCE 5.0f
#define MAX_VISIBILITY_DISTANCE (5*SIZE_OF_GRID_CELL/2.0f) // max distance for visible object show, limited by active zone for player based at cell size (active zone = 5x5 cells)
#define DEFAULT_VISIBILITY_DISTANCE (SIZE_OF_GRID_CELL) // default visible distance