aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2013-09-01 12:50:00 +0200
committerjackpoz <giacomopoz@gmail.com>2013-09-01 22:35:48 +0200
commit1417f624537f2bf7a57dd8762332d0b684727aa1 (patch)
tree3fad6c7110be941aa1f4eea7588eab187b5e93d2
parent1501e958767ab0cddc5d501796fdcb63bf98a87c (diff)
Core/Spell: Fix farsight log error "Player requests non-existing seer"
Partially revert 167ca565d044915f01ead4b189754ab1c44cc981 which wrongly used TYPEMASK_UNIT to denote Creatures and Players, so when a Player sent farsight opcode with another Player as target HandleFarSightOpcode() couldn't find the right Unit filtering by typemask TYPEMASK_SEER.
-rw-r--r--src/server/game/Entities/Object/Object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Object/Object.h b/src/server/game/Entities/Object/Object.h
index 4c48d80762d..cb731bfe5e8 100644
--- a/src/server/game/Entities/Object/Object.h
+++ b/src/server/game/Entities/Object/Object.h
@@ -54,7 +54,7 @@ enum TypeMask
TYPEMASK_GAMEOBJECT = 0x0020,
TYPEMASK_DYNAMICOBJECT = 0x0040,
TYPEMASK_CORPSE = 0x0080,
- TYPEMASK_SEER = TYPEMASK_UNIT | TYPEMASK_DYNAMICOBJECT
+ TYPEMASK_SEER = TYPEMASK_PLAYER | TYPEMASK_UNIT | TYPEMASK_DYNAMICOBJECT
};
enum TypeID