diff options
author | megamage <none@none> | 2009-01-16 15:53:34 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-16 15:53:34 -0600 |
commit | d8b20be962fb60a56c69e8f5919b83708aa7abbd (patch) | |
tree | 64c2479f6e4c479f94508319c5396ba121588eca /src/game/Unit.cpp | |
parent | 80263de422ad4e1cdb103eaec3a2acf74631f884 (diff) |
*Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 9b41f52e124..e497ab25d2b 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -11702,7 +11702,7 @@ void Unit::SetCharmedOrPossessedBy(Unit* charmer, bool possess) if(possess) { addUnitState(UNIT_STAT_POSSESSED); - SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNKNOWN5); + //SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNK_24); AddPlayerToVision((Player*)charmer); ((Player*)charmer)->SetClientControl(this, 1); ((Player*)charmer)->SetMover(this); @@ -11754,7 +11754,7 @@ void Unit::RemoveCharmedOrPossessedBy(Unit *charmer) if(possess) { clearUnitState(UNIT_STAT_POSSESSED); - RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNKNOWN5); + //RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNK_24); } if(GetTypeId() == TYPEID_UNIT) |