aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-30 10:38:53 +0800
committermegamage <none@none>2009-07-30 10:38:53 +0800
commit5d9d64e6f048298a19f4c80795f05e31facb2318 (patch)
treed4ab8dcf7ef32783355eeb005ffbf9228eee40a9 /src/game/Unit.h
parent7bd47f88276551ffd51aef1659d4876cf18434ae (diff)
[8229] Improve stealth detection code for player case. Author: Ambal
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 3488c9b8f14..85f2ed154dd 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1012,6 +1012,7 @@ enum ReactiveType
// delay time next attack to prevent client attack animation problems
#define ATTACK_DISPLAY_DELAY 200
+#define MAX_PLAYER_STEALTH_DETECT_RANGE 45.0f // max distance for detection targets by player
struct SpellProcEventEntry; // used only privately