Fix AHBot crashes. Patch based on code from Xeross' repo

Closes issue 1649

--HG--
branch : trunk
This commit is contained in:
Spp
2010-04-15 13:46:37 +02:00
parent 0032bb5886
commit f9987206f0
3 changed files with 4 additions and 59 deletions
+1 -1
View File
@@ -1419,7 +1419,7 @@ class Player : public Unit, public GridObject<Player>
bool LoadFromDB(uint32 guid, SqlQueryHolder *holder);
bool isBeingLoaded() const { return GetSession()->PlayerLoading();}
bool MinimalLoadFromDB(QueryResult_AutoPtr result, uint32 guid);
void Initialize(uint32 guid);
static uint32 GetUInt32ValueFromArray(Tokens const& data, uint16 index);
static float GetFloatValueFromArray(Tokens const& data, uint16 index);
static uint32 GetZoneIdFromDB(uint64 guid);