diff options
| author | maximius <none@none> | 2009-10-30 18:54:38 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-10-30 18:54:38 -0700 |
| commit | e6e621bfada0bd3e254d362f4504357b8799e1de (patch) | |
| tree | 893787140c74d713837bf99703907ce99240c142 /src/game/Player.cpp | |
| parent | 98d53f6a9d32462283cac9e43d31f8a0c132c53b (diff) | |
*Add virtual bool IsEscorted() to escort_ai.h
*Some minor cleanup and optimization
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
| -rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 858d4591e5f..d9e2f139880 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -14944,9 +14944,9 @@ bool Player::LoadFromDB( uint32 guid, SqlQueryHolder *holder ) { sLog.outError("Player (guidlow %d) was in BG in database, but BG was not found, and entry point was invalid! Teleport to default race/class locations.",guid); RelocateToHomebind(); - } else { - Relocate(&_loc); } + else + Relocate(&_loc); // We are not in BG anymore m_bgData.bgInstanceID = 0; |
