*Add virtual bool IsEscorted() to escort_ai.h

*Some minor cleanup and optimization

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-30 18:54:38 -07:00
parent 98d53f6a9d
commit e6e621bfad
6 changed files with 45 additions and 48 deletions
+2 -2
View File
@@ -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;