diff options
author | KingPin <none@none> | 2008-10-19 11:42:21 -0500 |
---|---|---|
committer | KingPin <none@none> | 2008-10-19 11:42:21 -0500 |
commit | d936f1bbd8559b5757a84c13a289f42a86133408 (patch) | |
tree | cb10f8403f548eb62a570013839bc8b844b423f5 /src/game/MiscHandler.cpp | |
parent | bc05228d9f788d0ca67dfdaba30e8e4a4c6ee61f (diff) |
[svn] * Added freeze/unfreeze/listfreeze commands patch by toilet1 (I swear I didnt make up the name)
* Fixed a couple of spelling errors in TC conf file
--HG--
branch : trunk
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r-- | src/game/MiscHandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index 76f6646ed5a..3557aa8cd97 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -287,6 +287,7 @@ void WorldSession::HandleLogoutRequestOpcode( WorldPacket & /*recv_data*/ ) //Can not logout if... if( GetPlayer()->isInCombat() || //...is in combat GetPlayer()->duel || //...is in Duel + GetPlayer()->HasAura(9454,0) || //...is frozen by GM via freeze command //...is jumping ...is falling GetPlayer()->HasUnitMovementFlag(MOVEMENTFLAG_JUMPING | MOVEMENTFLAG_FALLING)) { |